|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.core.terminate.ScoreComparingCondition
org.evolvica.core.terminate.AbsoluteScoreCondition
Absolute score condition. This condition is fulfilled if a score from an individual set is better than the target score.
Field Summary | |
protected IScore |
target
Target score. |
Fields inherited from class org.evolvica.core.terminate.ScoreComparingCondition |
comparator |
Constructor Summary | |
AbsoluteScoreCondition()
Constructor. |
|
AbsoluteScoreCondition(IScore target,
IScoreComparator comparator)
Constructor. |
Method Summary | |
IScore |
getTarget()
Returns the target score. |
boolean |
isTrue(IIndividualSet iset)
Checks if this condition is true for the given individual set. |
void |
setTarget(IScore score)
Sets the target score. |
Methods inherited from class org.evolvica.core.terminate.ScoreComparingCondition |
getComparator, setComparator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected IScore target
Constructor Detail |
public AbsoluteScoreCondition()
public AbsoluteScoreCondition(IScore target, IScoreComparator comparator)
target
- target scorecomparator
- score comparatorMethod Detail |
public boolean isTrue(IIndividualSet iset)
ICondition
iset
- individual set to check for the truth of the condition
ICondition.isTrue(org.evolvica.core.IIndividualSet)
public IScore getTarget()
public void setTarget(IScore score)
score
- target score
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |