00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef two_opt_h
00013 #define two_opt_h
00014
00015 #include <eoPersistent.h>
00016
00017 #include <utility>
00018 #include <moMove.h>
00019
00020 #include "route.h"
00021
00022 class TwoOpt : public moMove <Route>, public std :: pair <unsigned, unsigned>, public eoPersistent
00023 {
00024
00025 public :
00026
00027 TwoOpt operator ! () const ;
00028
00029 void operator () (Route & __route) ;
00030
00031 void readFrom (std :: istream & __is) ;
00032
00033 void printOn (std :: ostream & __os) const ;
00034 } ;
00035
00036 #endif