wodka.ga
Class Breeder
java.lang.Object
wodka.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Breeder
public Breeder()
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