ECF
1.5
D:
Projekt
ECF_trunk
examples
GAonemax
main.cpp
1
#include <ecf/ECF.h>
2
#include <cstdio>
3
#include "OneMaxEvalOp.h"
4
5
int
main(
int
argc,
char
**argv)
6
{
7
StateP state (
new
State
);
8
9
// set the evaluation operator
10
state->setEvalOp(
new
OneMaxEvalOp
);
11
12
state->initialize(argc, argv);
13
state->run();
14
15
return
0;
16
}
OneMaxEvalOp
OneMax problem evaluation class.
Definition:
OneMaxEvalOp.h:25
State
State class - backbone of the framework.
Definition:
State.h:39
Generated on Wed Aug 3 2022 17:50:41 for ECF by
1.9.4