GAMS
1.2.2
Main Page
Namespaces
Classes
Files
File List
File Members
ElectionTypesEnum.h
Go to the documentation of this file.
1
54
#ifndef _GAMS_ELECTIONS_ELECTION_TYPES_ENUM_H_
55
#define _GAMS_ELECTIONS_ELECTION_TYPES_ENUM_H_
56
57
#include <vector>
58
#include <string>
59
#include <map>
60
61
#include "madara/knowledge/KnowledgeBase.h"
62
63
#include "
gams/GamsExport.h
"
64
65
namespace
gams
66
{
67
namespace
elections
68
{
72
enum
ElectionTypes
73
{
74
// fixed list is default
75
ELECTION_PLURALITY
= 0,
76
ELECTION_CUMULATIVE
= 1,
77
NUM_ELECTION_TYPES
= 2
78
};
79
81
typedef
madara::knowledge::KnowledgeRecord::Integer
ElectionType
;
82
}
83
}
84
85
#endif // _GAMS_ELECTIONS_ELECTION_TYPES_ENUM_H_
gams::elections::ElectionType
madara::knowledge::KnowledgeRecord::Integer ElectionType
convenience typedef for ElectionType
Definition:
ElectionTypesEnum.h:81
GamsExport.h
gams
Contains all GAMS-related tools, classes and code.
Definition:
AlgorithmFactory.h:64
gams::elections::ELECTION_PLURALITY
Definition:
ElectionTypesEnum.h:75
gams::elections::ELECTION_CUMULATIVE
Definition:
ElectionTypesEnum.h:76
gams::elections::ElectionTypes
ElectionTypes
Known group types.
Definition:
ElectionTypesEnum.h:72
gams::elections::NUM_ELECTION_TYPES
Definition:
ElectionTypesEnum.h:77
src
gams
elections
ElectionTypesEnum.h
Generated on Fri Jul 13 2018 14:23:53 for GAMS by
1.8.11