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
cIndividualSelection.h
Go to the documentation of this file.
1 /**
2  * @file cIndividualSelection
3  * file name: cIndividualSelection.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 abstract 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 abstract class for selecting a good individual
28  * from the enviroment.
29  *
30  * @see cEnviroment
31  */
32 /*
33 History:
34 17.03.2010 Oesterholz created
35 06.06.2010 Oesterholz method getClassName() added
36 */
37 
38 
39 #ifndef ___C_INDIVIDUAL_SELECTION_H__
40 #define ___C_INDIVIDUAL_SELECTION_H__
41 
42 #include "version.h"
43 
44 #include "cIndividual.h"
45 #include "cObjectFitness.h"
46 
47 
48 namespace enviroment{
49 
50 
52 public:
53 
54  /**
55  * Destructor of the class cIndividualSelection.
56  */
57  virtual ~cIndividualSelection() = 0;
58 
59  /**
60  * @return a pointer to the selected individualdentifier, or the identifier
61  * for no individual (@see cIndividualIdentifier::getNoIndividualIdentifier())
62  */
64 
65  /**
66  * This method clones this object.
67  *
68  * @return a clone of this object
69  */
70  virtual cIndividualSelection * clone() const = 0;
71 
72  /**
73  * @return the name of this class
74  */
75  virtual string getClassName() const;
76 
77 };//end class cIndividualSelection
78 
79 
80 };//end namespace enviroment
81 
82 #endif //___C_INDIVIDUAL_SELECTION_H__
83 
84 
85 
86 
87 
88 
89