54 #ifndef _GAMS_ELECTIONS_ELECTION_FACTORY_H_ 55 #define _GAMS_ELECTIONS_ELECTION_FACTORY_H_ 61 #include "madara/knowledge/KnowledgeBase.h" 91 virtual ElectionBase * create (
const std::string & auction_prefix,
92 const std::string & agent_prefix,
93 madara::knowledge::KnowledgeBase * knowledge) = 0;
99 void set_knowledge (madara::knowledge::KnowledgeBase * knowledge);
105 void set_agent_prefix (
const std::string & prefix);
120 #endif // _GAMS_ELECTIONS_ELECTION_FACTORY_H_ Contains all GAMS-related tools, classes and code.
Copyright (c) 2016 Carnegie Mellon University.
madara::knowledge::KnowledgeBase * knowledge_
knowledge base containing variables
Base class for an auction factory.
Base class for an election.
std::string agent_prefix_
self prefix of the agent