Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.core.terminate
Class ScoreComparingCondition

java.lang.Object
  extended byorg.evolvica.core.terminate.ScoreComparingCondition
All Implemented Interfaces:
ICondition
Direct Known Subclasses:
AbsoluteScoreCondition, BestWorstScoreCondition, PhiCondition, RelativeErrorCondition, RunningAverageScoreCondition, RunningBestScoreCondition

public abstract class ScoreComparingCondition
extends java.lang.Object
implements ICondition

Abstract base class for a score comparing condition. A score comparing condition relies on a user defined score. This score is compared to the best score in an individual collection. The result of the comparison is used to decide if the condition is fulfilled or not.

Since:
0.4.0
Version:
$Revision: 1.5 $ $Date: 2004/05/26 11:58:20 $
Author:
Andreas Rummler

Field Summary
protected  IScoreComparator comparator
          Score comparator.
 
Constructor Summary
ScoreComparingCondition(IScoreComparator comparator)
          Constructor.
 
Method Summary
 IScoreComparator getComparator()
          Returns the comparator.
 void setComparator(IScoreComparator comparator)
          Sets the comparator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.evolvica.core.terminate.ICondition
isTrue
 

Field Detail

comparator

protected IScoreComparator comparator
Score comparator.

Constructor Detail

ScoreComparingCondition

public ScoreComparingCondition(IScoreComparator comparator)
Constructor.

Parameters:
comparator - comparator to be used
Method Detail

getComparator

public IScoreComparator getComparator()
Returns the comparator.

Returns:
score comparator

setComparator

public void setComparator(IScoreComparator comparator)
Sets the comparator.

Parameters:
comparator - new score comparator

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems