src/work/akos/simann_demo.cc
changeset 1065 340fe3cbb145
parent 999 5c846ec3f787
child 1096 1cfb25ef14d2
equal deleted inserted replaced
2:8a7856ad0a5f 3:47ea315e346b
     2 
     2 
     3 using namespace lemon;
     3 using namespace lemon;
     4 
     4 
     5 class MyEntity {
     5 class MyEntity {
     6 public:
     6 public:
     7   double mutate() { return 10.0; }
     7   double getCost() { return 10.0; }
       
     8   void mutate() {}
     8   void revert() {}
     9   void revert() {}
     9 };
    10 };
    10 
    11 
    11 int main() {
    12 int main() {
    12   SimAnn<MyEntity> simann;
    13   SimAnn<MyEntity> simann;