org.encog.ml.fitness
Class FitnessObjective
java.lang.Object
org.encog.ml.fitness.FitnessObjective
- All Implemented Interfaces:
- Serializable
public class FitnessObjective
- extends Object
- implements Serializable
A fitness objective.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FitnessObjective
public FitnessObjective(double weight,
CalculateScore score)
- Construct the fitness objective.
- Parameters:
weight
- The weight.score
- The score.
getWeight
public double getWeight()
- Returns:
- the weight
getScore
public CalculateScore getScore()
- Returns:
- the score
Copyright © 2014. All Rights Reserved.