ECF 1.5
main.cpp
1#include <ecf/ECF.h>
2#include <cstdio>
3#include "OneMaxEvalOp.h"
4
5int 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}
OneMax problem evaluation class.
Definition: OneMaxEvalOp.h:25
State class - backbone of the framework.
Definition: State.h:39