sdt.ga
Class Mate

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--sdt.df.Node
              |
              +--sdt.ga.Mate

public class Mate
extends Node

Implements the genetic operations such as crossover and mutation required to mimic the process of natural evolution.


Fields inherited from class sdt.df.Node
input, output
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Mate(AsyncPopulation p, Arc in1, Arc in2, Arc out1, Arc out2)
          Create an instance of a Mate node with the specified input and output arcs.
 
Method Summary
 void run()
          implements the crossover and mutation operators.
 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mate

public Mate(AsyncPopulation p,
            Arc in1,
            Arc in2,
            Arc out1,
            Arc out2)
Create an instance of a Mate node with the specified input and output arcs.
Method Detail

setPopulation

public void setPopulation(AsyncPopulation p)
sets the current population.

run

public void run()
implements the crossover and mutation operators.
Overrides:
run in class java.lang.Thread