- 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 <moeoSelectOne.h>
    00017 #include <eoRandomSelect.h>
    00018
    00022 template < class MOEOT > class moeoRandomSelect:public moeoSelectOne < MOEOT >, public eoRandomSelect <MOEOT >
    00023 {
    00024 public:
    00025
    00029     moeoRandomSelect(){}
    00030
    00031
    00035     const MOEOT & operator () (const eoPop < MOEOT > &_pop)
    00036     {
    00037         return eoRandomSelect < MOEOT >::operator ()(_pop);
    00038     }
    00039
    00040 };
    00041
    00042 #endif /*MOEORANDOMSELECT_H_ */