|
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.al.ThreadController
Abstract base class for a multithreaded evolutionary algorithm.
Field Summary | |
protected java.lang.Thread |
mainThread
Deprecated. |
protected jargs.gnu.CmdLineParser |
parser
Deprecated. |
protected ThreadSynchronization |
sync
Deprecated. |
protected Timer |
timer
Deprecated. Timer for measuring the run time of the algorithm. |
Constructor Summary | |
ThreadController()
Deprecated. Constructor. |
Method Summary | |
protected void |
connect(ThreadOperator from,
int output,
ThreadOperator to)
Deprecated. Connects two operators. |
protected void |
connect(ThreadOperator from,
int output,
ThreadOperator to,
int input)
Deprecated. Connects two operators. |
protected void |
connect(ThreadOperator from,
ThreadOperator to)
Deprecated. Connects two thread oprators. |
protected void |
connect(ThreadOperator from,
ThreadOperator to,
int input)
Deprecated. Connects two operators. |
protected void |
evolve()
Deprecated. Performs the evolution. |
protected void |
evolveStatic()
Deprecated. Evolves in mode INVOKE_STATIC. |
java.lang.Thread |
getThread()
Deprecated. |
protected void |
info()
Deprecated. Prints information about the controller object. |
protected boolean |
isConsistent()
Deprecated. Checks the consistency of all internal instance variables. |
protected void |
printUsage()
Deprecated. |
protected void |
result()
Deprecated. Prints the results of the algorithm. |
protected abstract void |
setup()
Deprecated. Method to perform the setup stage of the algorithm. |
void |
start(java.lang.String[] args)
Deprecated. Main method. |
void |
toGraph()
Deprecated. Converts the algorithm structure into a graph. |
void |
toXML()
Deprecated. Converts the algorithm structure into an XML document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Thread mainThread
protected ThreadSynchronization sync
protected jargs.gnu.CmdLineParser parser
protected Timer timer
Constructor Detail |
public ThreadController()
Method Detail |
protected boolean isConsistent()
protected void connect(ThreadOperator from, ThreadOperator to)
from
- first operatorto
- second operatorprotected void connect(ThreadOperator from, ThreadOperator to, int input)
from
- first operatorto
- second operatorinput
- slot of second operatorprotected void connect(ThreadOperator from, int output, ThreadOperator to)
from
- from operatoroutput
- slot of first operatorto
- second operatorprotected void connect(ThreadOperator from, int output, ThreadOperator to, int input)
from
- first operatoroutput
- output slot of the first operatorto
- second operatorinput
- input slot of the second operatorpublic java.lang.Thread getThread()
protected void evolve() throws EAException
EAException
- thrown if any of the used operators failsprotected void evolveStatic() throws EAException
EAException
- thrown in case one of the operators failsprotected abstract void setup()
protected void result()
protected void info()
public void toGraph()
public void toXML()
public void start(java.lang.String[] args)
args
- command line optionsprotected void printUsage()
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |