author | ladanyi |
Fri, 05 Nov 2004 05:46:46 +0000 | |
changeset 963 | 5a7556e9e340 |
child 965 | 1e16b8dac159 |
permissions | -rw-r--r-- |
1 #include <cstdlib>
2 #include <cmath>
3 #include "simann.h"
5 using namespace lemon;
7 class MyEntity {
8 public:
9 double mutate() { return 10.0; }
10 void revert() {}
11 };
13 int main() {
14 SimAnn<MyEntity> simann;
15 SimpleController ctrl;
16 simann.setController(ctrl);
17 MyEntity ent;
18 simann.setEntity(ent);
19 simann.run();
20 }