ECF 1.7
main.cpp
1#include <ECF/ECF.h>
2#include "SymbRegEvalOp.h"
3
4
5int main(int argc, char **argv)
6{
7 StateP state (new State);
8
9 // set the evaluation operator
10 state->setEvalOp(new GEPSymbRegEvalOp);
11
12 // initialize & run
13 state->initialize(argc, argv);
14
15 //XMLNode xInd = XMLNode::parseFile("./ind.xml", "Individual");
16 //IndividualP ind = (IndividualP) new Individual(state);
17 //ind->read(xInd);
18 //ECF_LOG(state, 3, "loaded individual:\n" + ind->toString());
19
20 state->run();
21 return 0;
22}
GEP symbolic regression evaluation operator.
State class - backbone of the framework.
Definition State.h:38