|
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.core.GeneticOperator | +--mss.ea.al.DelayElement
Simple stream processor which solely delays the transmission of the stream. This operator may be used for debugging purposes.
Field Summary | |
protected long |
delay
Amount of milliseconds to wait before transmitting the incoming stream. |
Fields inherited from class mss.ea.core.GeneticOperator |
description, ID, name |
Constructor Summary | |
DelayElement(long delay)
Constructor. |
Method Summary | |
long |
getDelay()
Gets the delay. |
IndividualStream |
process(IndividualStream is)
This methods waits for the given time and then transmits the stream to the successor. |
void |
setDelay(long delay)
Sets a new delay. |
Methods inherited from class mss.ea.core.GeneticOperator |
getDescription, getID, getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface mss.ea.core.StreamProcessor |
getName |
Field Detail |
protected long delay
Constructor Detail |
public DelayElement(long delay)
delay
- delay in millisecondsMethod Detail |
public void setDelay(long delay)
delay
- delay in millisecondspublic long getDelay()
public IndividualStream process(IndividualStream is)
process
in interface SingleStreamProcessor
is
- stream to be transmitted
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |