- Main Page
- Namespaces
- Classes
- Files

- Search for |

# two_opt.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    00002
    00003 // "two_opt.h"
    00004
    00005 // (c) OPAC Team, LIFL, 2003-2006
    00006
    00007 /* LICENCE TEXT
    00008
    00009    Contact: paradiseo-help@lists.gforge.inria.fr
    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