org.encog.ml.fitness
Class FitnessObjective

java.lang.Object
  extended by org.encog.ml.fitness.FitnessObjective
All Implemented Interfaces:
Serializable

public class FitnessObjective
extends Object
implements Serializable

A fitness objective.

See Also:
Serialized Form

Constructor Summary
FitnessObjective(double weight, CalculateScore score)
          Construct the fitness objective.
 
Method Summary
 CalculateScore getScore()
           
 double getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2014. All Rights Reserved.