54 #ifndef _GAMS_ELECTIONS_PLURALITY_ELECTION_H_ 55 #define _GAMS_ELECTIONS_PLURALITY_ELECTION_H_ 61 #include "madara/knowledge/containers/StringVector.h" 83 const std::string & agent_prefix =
"",
84 madara::knowledge::KnowledgeBase * knowledge = 0);
102 std::string get_leader (
void);
129 virtual ElectionBase * create (
const std::string & election_prefix =
"",
130 const std::string & agent_prefix =
"",
131 madara::knowledge::KnowledgeBase * knowledge = 0);
136 #endif // _GAMS_ELECTIONS_PLURALITY_ELECTION_H_ An election that implements plurality voting (NOT IMPLEMENTED)
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.
Factory for creating plurality elections.
Copyright (c) 2016 Carnegie Mellon University.
Base class for an election.