|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--sdt.df.Node | +--sdt.ga.Compete
Implements the tournament selection. The input arcs represent the competing solutions. The better of the two is placed in the first input arc and the other one is placed in the second output arc.
Fields inherited from class sdt.df.Node |
input,
output |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
Compete(AsyncPopulation p,
Arc in1,
Arc in2,
Arc out)
Create an instance of a Compete node with the specified input and output arcs. |
Method Summary | |
protected void |
finalize()
for garbage collection. |
void |
run()
Implements the tournament selection. |
void |
setPopulation(AsyncPopulation p)
sets the current population. |
Methods inherited from class sdt.df.Node |
setInput,
setInput,
setOutput,
setOutput |
Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
toString,
yield |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Compete(AsyncPopulation p, Arc in1, Arc in2, Arc out)
Method Detail |
public void setPopulation(AsyncPopulation p)
public void run()
protected void finalize() throws java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |