The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cSelectIndividualToDeleteWeel.h
Go to the documentation of this file.
1 /**
2  * @file cSelectIndividualToDeleteWeel
3  * file name: cSelectIndividualToDeleteWeel.h
4  * @author Betti Oesterholz
5  * @date 18.03.2010
6  * @mail webmaster@BioKom.info
7  *
8  * System: C++
9  *
10  * This header specifies a class for selecting a bad individual.
11  * Copyright (C) @c GPL3 2010 Betti Oesterholz
12  *
13  * This program is free software: you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License (GPL) as
15  * published by the Free Software Foundation, either version 3 of the
16  * License, or any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU Lesser General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program. If not, see <http://www.gnu.org/licenses/>.
25  *
26  *
27  * This header specifies a class for selecting a bad individual from the
28  * enviroment.
29  * The selection method is weelselction.
30  * Every individual has a propability of selection which is reversed proportional
31  * to it's fitnessvalue or a minimum propability, if it's fitness is higher
32  * the maximum/ best case fitness.
33  * The minimum probability p_min is: p_min = 1 / (#individuals * 1024)
34  * (#individuals = the count of individuals to select from)
35  *
36  * @see cSelectIndividualToDelete
37  * @see cEnviroment
38  */
39 /*
40 History:
41 18.03.2010 Oesterholz created
42 06.06.2010 Oesterholz method getClassName() added
43 */
44 
45 
46 #ifndef ___C_SELECT_INDIVIDUAL_TO_DELETE_WEEL_H__
47 #define ___C_SELECT_INDIVIDUAL_TO_DELETE_WEEL_H__
48 
49 #include "version.h"
50 
52 
53 
54 namespace enviroment{
55 
56 
58 
59 public:
60 
61  /**
62  * standardconstructor
63  */
65 
66  /**
67  * Destructor of the class cSelectIndividualToDeleteWeel.
68  */
70 
71  /**
72  * @return a pointer to the selected individualdentifier, or the identifier
73  * for no individual (@see cIndividualIdentifier::getNoIndividualIdentifier())
74  */
76 
77  /**
78  * This method clones this object.
79  *
80  * @return a clone of this object
81  */
82  virtual cSelectIndividualToDeleteWeel * clone() const;
83 
84  /**
85  * @return the name of this class
86  */
87  virtual string getClassName() const;
88 
89 };//end class cSelectIndividualToDeleteWeel
90 
91 };//end namespace enviroment
92 
93 #endif //___C_SELECT_INDIVIDUAL_TO_DELETE_WEEL_H__
94 
95 
96 
97 
98 
99 
100