- Main Page
- Classes
- Files

- Search for |

# moeoGenerationalReplacement.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    00002
    00003 //-----------------------------------------------------------------------------
    00004 // moeoGenerationalReplacement.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 MOEOGENERATIONALREPLACEMENT_H_
    00014 #define MOEOGENERATIONALREPLACEMENT_H_
    00015
    00016 #include <eoReplacement.h>
    00017 #include <moeoReplacement.h>
    00018
    00022 template < class MOEOT >
    00023 class moeoGenerationalReplacement : public moeoReplacement < MOEOT >, public eoGenerationalReplacement < MOEOT >
    00024 {
    00025 public:
    00026
    00032     void operator()(eoPop < MOEOT > & _parents, eoPop < MOEOT > & _offspring)
    00033     {
    00034         eoGenerationalReplacement < MOEOT >::operator ()(_parents, _offspring);
    00035     }
    00036
    00037 };
    00038
    00039 #endif /*MOEOGENERATIONALREPLACEMENT_H_*/