|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlio.search.LiOSearch
lio.search.genetic.CHC
public class CHC
Implement the CHC Adaptive Search Algorithm proposed by L.J. Eshelman.
Field Summary |
---|
Fields inherited from class lio.search.LiOSearch |
---|
listenerList, searchOutput, stopCondition, stopFlag |
Constructor Summary | |
---|---|
CHC()
Creates a new instance of StdGeneticAlgorithm |
Method Summary | |
---|---|
LiOResourceDefinition |
getDefinition()
Return a LiOResDescription object which holds the name and all parameters that describe the resource. |
Generator |
getGenerator()
Getter for property generator. |
int |
getPopulationSize()
Getter for property populationSize. |
double |
getR()
Getter for property r. |
static void |
main(java.lang.String[] args)
|
void |
run()
|
void |
setGenerator(Generator generator)
Setter for property generator. |
void |
setPopulationSize(int populationSize)
Setter for property populationSize. |
void |
setR(double r)
Setter for property r. |
boolean |
worksWith(LiOTask kindOfTask)
Allows knowing if the specified algorithm is able to process the task. |
Methods inherited from class lio.search.LiOSearch |
---|
addLiOEventListener, build, cleanExecution, execute, fireFinishEvent, getSearchOutput, getStopCondition, initialize, initialize, loadSearchOutput, loadStatistics, loadStopCondition, removeLiOEventListener, setOptions, setSearchOutput, setStopCondition, setTask, showOptions, stopCondition, stopSearching, updateTaskDependentResources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CHC()
Method Detail |
---|
public void run()
public boolean worksWith(LiOTask kindOfTask)
LiOSearch
worksWith
in class LiOSearch
public LiOResourceDefinition getDefinition()
public static void main(java.lang.String[] args)
args
- the command line argumentspublic int getPopulationSize()
public void setPopulationSize(int populationSize)
populationSize
- New value of property populationSize.public Generator getGenerator()
public void setGenerator(Generator generator)
generator
- New value of property generator.public double getR()
public void setR(double r)
r
- New value of property r.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |