COIN-OR::LEMON - Graph Library

Changeset 1150:c20bcf71efe3 in lemon-0.x


Ignore:
Timestamp:
02/15/05 16:00:31 (15 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1551
Message:

Minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/akos/simann.h

    r1145 r1150  
    3636
    3737    /*! \brief Step to a neighbouring state. */
    38     virtual void mutate() {}
     38    virtual void mutate() = 0;
    3939    /*! \brief Reverts the last mutate(). */
    40     virtual void revert() {}
     40    virtual void revert() = 0;
    4141    /*! \brief Saves the current solution as the best one. */
    42     virtual void saveAsBest() {}
     42    virtual void saveAsBest() = 0;
    4343  public:
    4444    /*! \brief Constructor. */
     
    6161      controller->init();
    6262      do {
    63         mutate();
     63        curr_cost=mutate();
    6464        if (controller->accept()) {
    6565          controller->acceptEvent();
Note: See TracChangeset for help on using the changeset viewer.