54 #ifndef _GAMS_AUCTIONS_AUCTION_FACTORY_H_
55 #define _GAMS_AUCTIONS_AUCTION_FACTORY_H_
61 #include "madara/knowledge/KnowledgeBase.h"
92 const std::string & agent_prefix,
93 madara::knowledge::KnowledgeBase * knowledge ) = 0;
Copyright(c) 2016 Carnegie Mellon University.
Base class for an auction.
Base class for an auction factory.
virtual AuctionBase * create(const std::string &auction_prefix, const std::string &agent_prefix, madara::knowledge::KnowledgeBase *knowledge)=0
Creates a auction.
AuctionFactory()
Constructor.
std::string agent_prefix_
self prefix of the agent
madara::knowledge::KnowledgeBase * knowledge_
knowledge base containing variables
virtual ~AuctionFactory()
Destructor.
void set_agent_prefix(const std::string &prefix)
Sets the prefix for the current bidding agent.
void set_knowledge(madara::knowledge::KnowledgeBase *knowledge)
Sets the knowledge base.
Contains all GAMS-related tools, classes and code.