- Main Page
- Namespaces
- Classes
- Files

- Search for |

# two_opt_tabu_list.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    00002
    00003 // "two_opt_tabu_list.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_tabu_list_h
    00013 #define two_opt_tabu_list_h
    00014
    00015 #include <moTabuList.h>
    00016 #include "two_opt.h"
    00017 #include "route.h"
    00018
    00020 class TwoOptTabuList : public moTabuList <TwoOpt>
    00021 {
    00022 public :
    00023
    00024   bool operator () (const TwoOpt & __move, const Route & __sol) ;
    00025
    00026   void add (const TwoOpt & __move, const Route & __sol) ;
    00027
    00028   void update () ;
    00029
    00030   void init () ;
    00031
    00032 private :
    00033
    00034   std :: vector <std :: vector <unsigned> > tabu_span ;
    00035
    00036 } ;
    00037
    00038 #endif