ECF
1.5
D:
Projekt
ECF_trunk
examples
Flowshop
main.cpp
1
#include<iostream>
2
#include "ECF/ECF.h"
3
#include "../API/SolverSHC.h"
4
#include "../API/SolverTournamentEA.h"
5
#include "FlowshopEvalOp.h"
6
7
8
int
main(
int
argc,
char
** argv)
9
{
10
StateP state (
new
State
);
11
12
// add dynamic components
13
state->addAlgorithm((AlgorithmP)
new
SolverSHC
);
14
state->addAlgorithm((AlgorithmP)
new
SolverTournamentEA
);
15
16
// set problem (evaluator)
17
state->setEvalOp(
new
FlowshopEvalOp
());
18
19
state->initialize(argc, argv);
20
state->run();
21
22
return
0;
23
}
FlowshopEvalOp
Definition:
FlowshopEvalOp.h:27
SolverSHC
Definition:
SolverSHC.h:5
SolverTournamentEA
Definition:
SolverTournamentEA.h:5
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