|
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.ThreadOperator | +--mss.ea.al.ConditionalThread
Wrapper for stream processors with a single input/output depending on a condition.
Field Summary | |
protected java.util.LinkedList |
conditionList
Deprecated. List of conditions. |
protected IndividualStream |
stream
Deprecated. Processed individual stream. |
protected java.util.LinkedList |
streamConditionList
Deprecated. List of stream conditions. |
Fields inherited from class mss.ea.al.ThreadOperator |
inputs, outputs, predecessorList, successorList, successorNotificationList, sync, terminate, thread |
Fields inherited from class mss.ea.core.GeneticOperator |
description, ID, name |
Constructor Summary | |
ConditionalThread()
Deprecated. Constructor. |
|
ConditionalThread(Condition cond)
Deprecated. Constructor with single condition. |
|
ConditionalThread(StreamCondition cond)
Deprecated. Constructor with stream condition. |
Method Summary | |
void |
addCondition(Condition cond)
Deprecated. Adds a condition to the internal condition list. |
void |
addCondition(StreamCondition cond)
Deprecated. Adds a stream condition to the internal condition list. |
void |
addStream(IndividualStream stream)
Deprecated. Adds an individual stream to this operator. |
protected boolean |
checkCondition()
Deprecated. Checks if the branch condition is true. |
IntegerCounter |
getCounter()
Deprecated. |
void |
operate()
Deprecated. |
void |
setConditionCounter(int value)
Deprecated. |
void |
setFalseSuccessor(ThreadOperator to)
Deprecated. Sets a new false branch successor. |
void |
setTrueSuccessor(ThreadOperator to)
Deprecated. Sets a new true branch successor. |
java.lang.String |
toString()
Deprecated. Returns a string representation. |
Methods inherited from class mss.ea.al.ThreadOperator |
addPredecessor, addPredecessor, addSuccessor, addSuccessor, getInputs, getOutputs, getPredecessors, getSuccessors, getThread, hangup, isConnected, run, setController, setSync, setThread |
Methods inherited from class mss.ea.core.GeneticOperator |
getDescription, getID, getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.LinkedList conditionList
protected java.util.LinkedList streamConditionList
protected IndividualStream stream
Constructor Detail |
public ConditionalThread()
public ConditionalThread(Condition cond)
cond
- conditionpublic ConditionalThread(StreamCondition cond)
cond
- stream conditionMethod Detail |
public void addStream(IndividualStream stream)
addStream
in class ThreadOperator
stream
- stream to addpublic void operate()
operate
in class ThreadOperator
protected boolean checkCondition()
public void addCondition(Condition cond)
cond
- condition to addpublic void addCondition(StreamCondition cond)
cond
- stream condition to addpublic void setTrueSuccessor(ThreadOperator to)
to
- new true branch successorpublic void setFalseSuccessor(ThreadOperator to)
to
- new false branch successorpublic java.lang.String toString()
toString
in class GeneticOperator
public void setConditionCounter(int value)
public IntegerCounter getCounter()
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |