|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectart.ga.GaManager
This is the only class that have to by accessed directly by the user in order to easily manage ART as a black box; it hides the internal structure of the genetic algorithm.
GaSolution,
Fitness| Constructor Summary | |
GaManager(java.lang.String ConfigurationFileName,
java.lang.String project)
Constructor of the class |
|
| Method Summary | |
GaSolution |
computeBestSolution(Fitness aFitnessFunction)
|
int |
getGenerationNumber()
Get the generation currently computed by the ga. |
GaSolution |
getNextSolution()
Get the next GaSolution generated by the genetic algorithm. |
void |
setFitness(GaSolution gaStrategy,
double fitness)
Set the fitness (reward) for a given GaSolution. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GaManager(java.lang.String ConfigurationFileName,
java.lang.String project)
ConfigurationFileName - Parameter's fileproject - Parameter's project| Method Detail |
public GaSolution computeBestSolution(Fitness aFitnessFunction)
public int getGenerationNumber()
public GaSolution getNextSolution()
setFitness(GaSolution, double) in AB simulations or in dynamic problems evolving over time for which
is not possible define a fitness function implementing the Fitness interface.
public void setFitness(GaSolution gaStrategy,
double fitness)
getNextSolution() in AB simulations or in dynamic problems evolving over time for wich
is not possible define a fitness function implementing the Fitness interface.
gaStrategy - Startegy evaluatedfitness - Reward of the startegy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||