Class GradientsCalculator
java.lang.Object
turtlekit.pheromone.GradientsCalculator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
getMaxDirectionNoRandom
(AbstractPheromoneGrid<Float> phero, int index) static double
getMaxDirectionRandomWhenEquals
(AbstractPheromoneGrid<Float> phero, int index) static double
getMinDirectionNoRandom
(AbstractPheromoneGrid<Float> phero, int index) static double
getMinDirectionRandomWhenEquals
(AbstractPheromoneGrid<Float> phero, int index)
-
Constructor Details
-
GradientsCalculator
public GradientsCalculator()
-
-
Method Details
-
getMaxDirectionRandomWhenEquals
-
getMaxDirectionNoRandom
-
getMinDirectionRandomWhenEquals
-
getMinDirectionNoRandom
-