org.encog.ml.fitness
Class FitnessObjective
- java.lang.Object
-
- org.encog.ml.fitness.FitnessObjective
-
- All Implemented Interfaces:
- java.io.Serializable
public class FitnessObjective extends java.lang.Object implements java.io.SerializableA fitness objective.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description FitnessObjective(double weight, CalculateScore score)Construct the fitness objective.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CalculateScoregetScore()doublegetWeight()
-
-
-
Constructor Detail
-
FitnessObjective
public FitnessObjective(double weight, CalculateScore score)Construct the fitness objective.- Parameters:
weight- The weight.score- The score.
-
-
Method Detail
-
getWeight
public double getWeight()
- Returns:
- the weight
-
getScore
public CalculateScore getScore()
- Returns:
- the score
-
-
DMelt 3.0 © DataMelt by jWork.ORG