Conscience Core
ArtificialIntelligence
CscGeneration.h
Go to the documentation of this file.
1
/*
2
* CscGeneration.h
3
*
4
* Created on: 31 mai 2014
5
* Author: ilieszaoui
6
*/
7
8
#ifndef CSCGENERATION_H_
9
#define CSCGENERATION_H_
10
11
#include <vector>
12
#include <string>
13
#include <iostream>
14
#include <algorithm>
15
16
#include "
ArtificialIntelligence/CscPerson.h
"
17
18
using
std::vector;
using
std::string;
19
20
class
CSC_DLL_IMPORTEXPORT
CscGeneration
{
21
public
:
22
CscGeneration
(
int
idIn);
23
string
toString();
24
void
addPerson(
CscPerson
* person);
28
void
sortPersons();
29
void
sortPersonsById();
30
int
countPersons();
31
CscPerson
* getBestPerson();
32
vector<CscPerson *> * getPersons();
33
CscPerson
* getPerson(
int
index
);
34
CscPerson
* getPersonById(
int
personId);
35
36
int
getId();
37
virtual
~
CscGeneration
();
38
private
:
39
int
id;
40
string
name;
41
vector<CscPerson *> * persons;
42
};
43
44
#endif
/* CSCGENERATION_H_ */
CSC_DLL_IMPORTEXPORT
#define CSC_DLL_IMPORTEXPORT
Definition:
os.h:34
CscPerson.h
CscPerson
Definition:
CscPerson.h:19
jwt::alphabet::index
uint32_t index(const std::array< char, 64 > &alphabet, char symbol)
Definition:
base.h:91
CscGeneration
Definition:
CscGeneration.h:20
Generated by
1.8.17