The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
cIndividualSelectionWeel.h
Go to the documentation of this file.
1
/**
2
* @file cIndividualSelectionWeel
3
* file name: cIndividualSelectionWeel.h
4
* @author Betti Oesterholz
5
* @date 17.03.2010
6
* @mail webmaster@BioKom.info
7
*
8
* System: C++
9
*
10
* This header specifies a class for selecting a good 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 good individual from the
28
* enviroment.
29
* The selection method is weelselction.
30
* Every individual has a propability of selection which is proportional
31
* to it's fitnessvalue or a minimum propability, if it's fitness is below
32
* the minimum/ worst 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 cIndividualSelection
37
* @see cEnviroment
38
*/
39
/*
40
History:
41
17.03.2010 Oesterholz created
42
06.06.2010 Oesterholz method getClassName() added
43
*/
44
45
46
#ifndef ___C_INDIVIDUAL_SELECTION_WEEL_H__
47
#define ___C_INDIVIDUAL_SELECTION_WEEL_H__
48
49
#include "version.h"
50
51
#include "
cIndividualSelection.h
"
52
53
54
namespace
enviroment{
55
56
57
class
cIndividualSelectionWeel
:
public
cIndividualSelection
{
58
59
public
:
60
61
/**
62
* standardconstructor
63
*/
64
cIndividualSelectionWeel
();
65
66
/**
67
* Destructor of the class cObjectFitnessAlgorithm.
68
*/
69
virtual
~cIndividualSelectionWeel
();
70
71
/**
72
* @return a pointer to the selected individualdentifier, or the identifier
73
* for no individual (@see cIndividualIdentifier::getNoIndividualIdentifier())
74
*/
75
virtual
cIndividualIdentifier
getIndividualIdentifier
()
const
;
76
77
/**
78
* This method clones this object.
79
*
80
* @return a clone of this object
81
*/
82
virtual
cIndividualSelectionWeel
*
clone
()
const
;
83
84
/**
85
* @return the name of this class
86
*/
87
virtual
string
getClassName
()
const
;
88
89
};
//end class cIndividualSelectionWeel
90
91
92
};
//end namespace enviroment
93
94
#endif //___C_INDIVIDUAL_SELECTION_WEEL_H__
95
96
97
98
99
100
101
enviroment
incl
cIndividualSelectionWeel.h
Generated on Thu Feb 14 2013 14:06:55 for The Fib multimedia system by
1.8.1