54 #ifndef _GAMS_ELECTIONS_CUMULATIVE_ELECTION_H_ 55 #define _GAMS_ELECTIONS_CUMULATIVE_ELECTION_H_ 61 #include "madara/knowledge/containers/StringVector.h" 84 const std::string & agent_prefix =
"",
85 madara::knowledge::KnowledgeBase * knowledge = 0);
103 std::string get_leader (
void);
130 virtual ElectionBase * create (
const std::string & election_prefix =
"",
131 const std::string & agent_prefix =
"",
132 madara::knowledge::KnowledgeBase * knowledge = 0);
137 #endif // _GAMS_ELECTIONS_CUMULATIVE_ELECTION_H_ An election that implements cumulative voting.
Factory for creating plurality elections.
Contains all GAMS-related tools, classes and code.
std::vector< std::string > CandidateList
list of candidates
Copyright (c) 2016 Carnegie Mellon University.
Base class for an auction factory.
Copyright (c) 2016 Carnegie Mellon University.
Base class for an election.