COIN-OR::LEMON - Graph Library

Changeset 1023:3268fef5d623 in lemon-0.x for src/work/akos/simann_demo.cc


Ignore:
Timestamp:
11/29/04 16:30:11 (15 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1413
Message:

Added a getCost() method to the Entity. Now prevCost() returns what its name suggests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/akos/simann_demo.cc

    r999 r1023  
    55class MyEntity {
    66public:
    7   double mutate() { return 10.0; }
     7  double getCost() { return 10.0; }
     8  void mutate() {}
    89  void revert() {}
    910};
Note: See TracChangeset for help on using the changeset viewer.