- Main Page
- Classes
- Files

- Search for |

# moeoRandomSelect.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    00002
    00003 //-----------------------------------------------------------------------------
    00004 // moeoRandomSelect.h
    00005 // (c) OPAC Team (LIFL), Dolphin Project (INRIA), 2007
    00006 /*
    00007     This library...
    00008
    00009     Contact: paradiseo-help@lists.gforge.inria.fr, http://paradiseo.gforge.inria.fr
    00010  */
    00011 //-----------------------------------------------------------------------------
    00012
    00013 #ifndef MOEORANDOMSELECT_H_
    00014 #define MOEORANDOMSELECT_H_
    00015
    00016 #include <eoRandomSelect.h>
    00017 #include <selection/moeoSelectOne.h>
    00018
    00019
    00023 template < class MOEOT > class moeoRandomSelect:public moeoSelectOne < MOEOT >, public eoRandomSelect <MOEOT >
    00024 {
    00025 public:
    00026
    00030     moeoRandomSelect(){}
    00031
    00032
    00036     const MOEOT & operator () (const eoPop < MOEOT > &_pop)
    00037     {
    00038         return eoRandomSelect < MOEOT >::operator ()(_pop);
    00039     }
    00040
    00041 };
    00042
    00043 #endif /*MOEORANDOMSELECT_H_ */