git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@177 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
56388d43fa
commit
f3bf6dcb10
59 changed files with 5880 additions and 0 deletions
25
branches/paradiseo-moeo-1.0/src/moeoRandomSelectOne.h
Normal file
25
branches/paradiseo-moeo-1.0/src/moeoRandomSelectOne.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// moeoRandomSelectOne.h
|
||||
// (c) OPAC Team (LIFL), Dolphin Project (INRIA), 2007
|
||||
/*
|
||||
This library...
|
||||
|
||||
Contact: paradiseo-help@lists.gforge.inria.fr, http://paradiseo.gforge.inria.fr
|
||||
*/
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef MOEORANDOMSELECTONE_H_
|
||||
#define MOEORANDOMSELECTONE_H_
|
||||
|
||||
#include <moeoSelectOne.h>
|
||||
#include <eoRandomSelect.h>
|
||||
|
||||
/**
|
||||
* Selection strategy that selects only one element randomly from a whole population
|
||||
*/
|
||||
template < class MOEOT >
|
||||
class moeoRandomSelectOne : public moeoSelectOne < MOEOT >, public eoRandomSelect < MOEOT > {};
|
||||
|
||||
#endif /*MOEORANDOMSELECTONE_H_*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue