the name of the eoGpDepthInitializer class (initializer for

parse_tree's has been changed to

eoParseTreeDepthInit but backward compatibility is maintained by
using a #define statement:

#define eoGpDepthInitializer eoParseTreeDepthInit

The initializer for strongly typed GP has been changed to
eoStParseTreeDepthInit

the gpsymreg application has been changed to use the new name
This commit is contained in:
jeggermo 2001-11-03 22:10:11 +00:00
commit 2d12525bc5
4 changed files with 39 additions and 37 deletions

View file

@ -71,7 +71,7 @@ int main(int argc, char *argv[])
RegFitness<FitnessType, Node > eval(generationCounter, initSequence, parameter);
// Depth Initializor, defaults to grow method.
eoGpDepthInitializer<FitnessType, Node> initializer(parameter.InitMaxDepth, initSequence);
eoParseTreeDepthInit<FitnessType, Node> initializer(parameter.InitMaxDepth, initSequence);
// create the initial population
Pop pop(parameter.population_size, initializer);