ECF
1.7
D:
Projekt
ECF
ECF_master
examples
GEPSymbReg
main.cpp
1
#include <ECF/ECF.h>
2
#include "SymbRegEvalOp.h"
3
4
5
int
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
}
GEPSymbRegEvalOp
GEP symbolic regression evaluation operator.
Definition
SymbRegEvalOp.h:30
State
State class - backbone of the framework.
Definition
State.h:38
Generated on
for ECF by
1.18.0