There are currently three choices for decay functions: reciprocal, exponential, and subtraction.
The reciprocal decay maps a distance d
to an attraction a
as follows: a = 1/d^t
, where t
is the temperature.
The exponential decay maps a distance d
to an attraction a
as follows: a = exp(-t*d)
, where t
is the temperature.
The subtract decay maps a distance d
to an attraction a
as follows: a = (m-d)^t
, where t
is the temperature and m
is the maximum distance in distance
multiplied by the supplied multiplier.