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");
}
Example #2
0
void Updatable::describe( QString type ) {
	Descriptor d = addTypeDescription( type, "an Updatable" );
	d.describeString("name").def("unamed").help("The name of this element");
}