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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyScoreFunction
public EmptyScoreFunction()
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.
Copyright © 2014. All Rights Reserved.