Ejemplo n.º 1
0
void SteadyStateAlgo::describe(QString type)
{
	Descriptor d = addTypeDescription(type, "steadyState Algorithm");
	d.describeInt("popSize").limits(1, INT_MAX).def(1).help("Number of the individuals belonging to the population");
	d.describeInt("numGenerations").limits(1, INT_MAX).def(1000).help("Number of the generations of the evolutionary process");
	d.describeReal("mutRate").def(0.1).help("Mutation rate");
	d.describeReal("mutDecay").def(0.01).help("Mutation rate decay");
	d.describeReal("initMutRate").def(0.5).help("Initial mutation rate");
	d.describeObject("gaEvaluator").type("RobotExperiment").props(IsMandatory).help("Object that calculate the fitness");
	d.describeObject("genotypeTester").type("SingleGenotypeIntToEvonet").props(IsMandatory).help("Object that sets the genotype to be tested");
	d.describeSubgroup("Genotype").type("GenotypeInt").props(IsMandatory).help("Object containing the individual under evolution");
}
Ejemplo n.º 2
0
void EvoAlgoTestIndividual::describe( QString type )
{
	EvoAlgoTest::describe(type);
	Descriptor d = addTypeDescription( type, "Individual test" );
	d.describeString("filename").help("The filename from which the individual must be retrieved", "When not running in batch, this is ignored if a filename is specified using the test GUI");
	d.describeInt("individual").limits(0,INT_MAX).def(0).help("The individual to be tested", "When not running in batch, this is ignored if an individual is specified using the test GUI");
}
Ejemplo n.º 3
0
void XnesAlgo::describe(QString type)
{
	Descriptor d = addTypeDescription(type, "xNES Algorithm");
	d.describeInt("numGenerations").limits(1, INT_MAX).def(1000).help("Number of the generations of the evolutionary process");
	d.describeObject("gaEvaluator").type("RobotExperiment").props(IsMandatory).help("Object that calculate the fitness");
	d.describeObject("genotypeTester").type("SingleGenotypeFloatToEvonet").props(IsMandatory).help("Object that sets the genotype to be tested");
	d.describeSubgroup("Genotype").type("GenotypeFloat").props(IsMandatory).help("Object containing the individual under evolution");
}
Ejemplo n.º 4
0
void DeterministicRank::describe( QString type ) {
	Descriptor d = addTypeDescription( type, "Selects the individual with a deterministic round-robin" );
	d.describeInt( "nTruncation" ).limits( 1, INT_MAX ).def( 20 ).help( "Only the first nTruncation individuals will be select for reproduce. The individuals will be sorted on their rank" );
}