Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.