org.jgap.impl.salesman
Class SalesmanFitnessFunction
- java.lang.Object
-
- org.jgap.FitnessFunction
-
- org.jgap.impl.salesman.SalesmanFitnessFunction
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, ICloneable
public class SalesmanFitnessFunction extends FitnessFunction
The fitness function to solve the Travelling Salesman problem. The function returned by this method callsdistance(Object from, Object to)- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jgap.FitnessFunction
DELTA, NO_FITNESS_VALUE
-
-
Constructor Summary
Constructors Constructor and Description SalesmanFitnessFunction(Salesman a_salesman)
-
Method Summary
-
Methods inherited from class org.jgap.FitnessFunction
clone, getFitnessValue, getLastComputedFitnessValue
-
-
-
-
Constructor Detail
-
SalesmanFitnessFunction
public SalesmanFitnessFunction(Salesman a_salesman)
-
-
DMelt 3.0 © DataMelt by jWork.ORG