GAMS
1.4.0
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_
GamsExport.h
gams::elections::ElectionType
madara::knowledge::KnowledgeRecord::Integer ElectionType
convenience typedef for ElectionType
Definition:
ElectionTypesEnum.h:81
gams::elections::ElectionTypes
ElectionTypes
Known group types.
Definition:
ElectionTypesEnum.h:73
gams::elections::ELECTION_PLURALITY
@ ELECTION_PLURALITY
Definition:
ElectionTypesEnum.h:75
gams::elections::ELECTION_CUMULATIVE
@ ELECTION_CUMULATIVE
Definition:
ElectionTypesEnum.h:76
gams::elections::NUM_ELECTION_TYPES
@ NUM_ELECTION_TYPES
Definition:
ElectionTypesEnum.h:77
gams
Contains all GAMS-related tools, classes and code.
Definition:
AlgorithmFactory.h:65
src
gams
elections
ElectionTypesEnum.h
Generated on Sat Jan 20 2024 00:55:56 for GAMS by
1.9.1