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.ea.score
Class EmptyScoreFunction

    java.lang.Object
      org.encog.ml.ea.score.EmptyScoreFunction

All Implemented Interfaces:
  Serializable, CalculateScore

    public class EmptyScoreFunction

extends Object
implements CalculateScore, Serializable

An empty score function. Simply returns zero as the score, always.

See Also:
  Serialized Form

Constructor Summary
`EmptyScoreFunction()`

Method Summary
`double` | `calculateScore(MLMethod phenotype)` Calculate this network's score.
`boolean` | `requireSingleThreaded()`
`boolean` | `shouldMinimize()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EmptyScoreFunction

    public EmptyScoreFunction()

Method Detail

### calculateScore

    public double calculateScore(MLMethod phenotype)

  Calculate this network's score.

  Specified by:
    `calculateScore` in interface `CalculateScore`
  Parameters:
    `phenotype` - The ML method.
  Returns:
    The score.

### requireSingleThreaded

    public boolean requireSingleThreaded()

  Specified by:
    `requireSingleThreaded` in interface `CalculateScore`
  Returns:
    True, if this score function cannot be done in parallel.

### shouldMinimize

    public boolean shouldMinimize()

  Specified by:
    `shouldMinimize` in interface `CalculateScore`
  Returns:
    True if the goal is to minimize 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.