ECF
1.5
D:
Projekt
ECF_trunk
examples
CGP
src
main.cpp
1
#include <ECF.h>
2
#include "cartesian/Cartesian.h"
3
#include "SymbRegEvalOp.h"
4
#include "MultipleClassEvalOp.h"
5
int
main(
int
argc,
char
** argv) {
6
StateP state (
new
State
);
7
CartesianP cgp (
new
cartesian::Cartesian
);
8
state->addGenotype(cgp);
9
state->setEvalOp(
new
SymbRegEvalOp
);
10
state->initialize(argc,argv);
11
12
state->run();
13
return
0;
14
}
State
State class - backbone of the framework.
Definition:
State.h:39
SymbRegEvalOp
Symbolic regression evaluation operator (using AP genotype).
Definition:
SymbRegEvalOp.h:29
cartesian::Cartesian
Definition:
Cartesian_genotype.h:13
Generated on Wed Aug 3 2022 17:50:41 for ECF by
1.9.4