- Main Page
- Classes
- Files

- Search for |

# moMoveSelect.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    00002
    00003 // "moMoveSelect.h"
    00004
    00005 // (c) OPAC Team, LIFL, 2003-2006
    00006
    00007 /* TEXT LICENCE
    00008
    00009    Contact: paradiseo-help@lists.gforge.inria.fr
    00010 */
    00011
    00012 #ifndef __moMoveSelect_h
    00013 #define __moMoveSelect_h
    00014
    00015 #include <eoFunctor.h>
    00016
    00018
    00021 class EmptySelection
    00022 {
    00023
    00024 };
    00025
    00027
    00032 template < class M > class moMoveSelect:public eoBF < M &, typename M::EOType::Fitness &,
    00033   void >
    00034 {
    00035 public:
    00037   typedef
    00038     typename
    00039     M::EOType::Fitness
    00040     Fitness;
    00041
    00043
    00050   virtual void
    00051   init (const Fitness & __fit) = 0;
    00052
    00054
    00059   virtual
    00060     bool
    00061   update (const M & __move, const Fitness & __fit) = 0;
    00062
    00063 };
    00064
    00065 #endif