00001
00002
00003
00004
00005
00006
00007
00008
00009
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