Changeset 1150:c20bcf71efe3 in lemon-0.x
- Timestamp:
- 02/15/05 16:00:31 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1551
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/akos/simann.h
r1145 r1150 36 36 37 37 /*! \brief Step to a neighbouring state. */ 38 virtual void mutate() {}38 virtual void mutate() = 0; 39 39 /*! \brief Reverts the last mutate(). */ 40 virtual void revert() {}40 virtual void revert() = 0; 41 41 /*! \brief Saves the current solution as the best one. */ 42 virtual void saveAsBest() {}42 virtual void saveAsBest() = 0; 43 43 public: 44 44 /*! \brief Constructor. */ … … 61 61 controller->init(); 62 62 do { 63 mutate();63 curr_cost=mutate(); 64 64 if (controller->accept()) { 65 65 controller->acceptEvent();
Note: See TracChangeset
for help on using the changeset viewer.