|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.trm.AbstractCondition | +--mss.ea.trm.CounterCondition
Termination after reaching a specified value of a counter. The break condition is fulfilled in case of ( current value of counter >= maximal value of counter ). The maximal value is specified in the constructor.
Field Summary | |
protected long |
breakValue
Maximal value of the counter. |
protected Counter |
counter
Counter to use for break condition testing. |
Constructor Summary | |
CounterCondition(Counter count,
long val)
Constructor. |
Method Summary | |
boolean |
isTrue()
Test of break condition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long breakValue
protected Counter counter
Constructor Detail |
public CounterCondition(Counter count, long val)
count
- counter with current number of generationsval
- maximal value of the counterMethod Detail |
public boolean isTrue()
isTrue
in class AbstractCondition
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |