moea.moga.algorithms
Class Spea2

java.lang.Object
  extended by java.lang.Thread
      extended by moea.moga.algorithms.Moea
          extended by moea.moga.algorithms.Spea2
All Implemented Interfaces:
java.lang.Runnable

public class Spea2
extends Moea


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  AssignerSpea2<Chromosome> assigner
           
protected  Population<Chromosome> pop2
           
protected  int pop2SizeMax
           
 
Fields inherited from class moea.moga.algorithms.Moea
currentGeneration, externalIndividuals, maxGenerations, migrationRate, name, neighbors, pop, popSizeMax, probabilityOfCrossover, probabilityOfMutation, selector, threadPaused
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Spea2(java.lang.String name, Population<Chromosome> popIni, int maxGenerations, double probabilityOfCrossover, double probabilityOfMutation)
           
Spea2(java.lang.String name, Population<Chromosome> popIni, int maxGenerations, double probabilityOfCrossover, double probabilityOfMutation, int migrationRate)
           
 
Method Summary
 void step()
           
 
Methods inherited from class moea.moga.algorithms.Moea
addNeighbor, done, exportToMatFile, filter, gameOver, generate, getCurrentGeneration, getPopulation, pauseEvolution, receive, resumeEvolution, run, send, terminateEvolution, toString, updateGenToMax
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pop2

protected Population<Chromosome> pop2

pop2SizeMax

protected int pop2SizeMax

assigner

protected AssignerSpea2<Chromosome> assigner
Constructor Detail

Spea2

public Spea2(java.lang.String name,
             Population<Chromosome> popIni,
             int maxGenerations,
             double probabilityOfCrossover,
             double probabilityOfMutation,
             int migrationRate)

Spea2

public Spea2(java.lang.String name,
             Population<Chromosome> popIni,
             int maxGenerations,
             double probabilityOfCrossover,
             double probabilityOfMutation)
Method Detail

step

public void step()
Specified by:
step in class Moea