wodka.ga
Class Breeder

java.lang.Object
  extended bywodka.ga.Breeder
All Implemented Interfaces:
CategorizedInfoModel, java.lang.Runnable

public class Breeder
extends java.lang.Object
implements java.lang.Runnable, CategorizedInfoModel

Breeds Individuals using a GA


Constructor Summary
Breeder()
           
 
Method Summary
 void addListener(BreederListener listener)
           
 boolean canBeSaved()
           
 boolean canBeStarted()
           
 boolean canBeStopped()
           
 int categoryCount()
           
 java.lang.String getCategoryInfo(int index)
           
 java.lang.String getCategoryName(int index)
           
 GeneticAlgorithm getGenAlgo()
           
 boolean isRunning()
           
 void run()
           
 void setExceptionHandler(ExceptionHandler handler)
           
 void setGenAlgo(GeneticAlgorithm genAlgo)
           
 void start()
           
 void stop()
           
 java.lang.String toInfoString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Breeder

public Breeder()
Method Detail

setExceptionHandler

public void setExceptionHandler(ExceptionHandler handler)

addListener

public void addListener(BreederListener listener)

run

public void run()
Specified by:
run in interface java.lang.Runnable

start

public void start()

stop

public void stop()

getGenAlgo

public GeneticAlgorithm getGenAlgo()

setGenAlgo

public void setGenAlgo(GeneticAlgorithm genAlgo)

toInfoString

public java.lang.String toInfoString()

isRunning

public boolean isRunning()

canBeSaved

public boolean canBeSaved()

canBeStarted

public boolean canBeStarted()

canBeStopped

public boolean canBeStopped()

categoryCount

public int categoryCount()
Specified by:
categoryCount in interface CategorizedInfoModel

getCategoryInfo

public java.lang.String getCategoryInfo(int index)
Specified by:
getCategoryInfo in interface CategorizedInfoModel

getCategoryName

public java.lang.String getCategoryName(int index)
Specified by:
getCategoryName in interface CategorizedInfoModel