Base class for an auction factory.
More...
#include <AuctionFactory.h>
Base class for an auction factory.
Definition at line 71 of file AuctionFactory.h.
◆ AuctionFactory()
gams::auctions::AuctionFactory::AuctionFactory |
( |
| ) |
|
◆ ~AuctionFactory()
virtual gams::auctions::AuctionFactory::~AuctionFactory |
( |
| ) |
|
|
virtual |
◆ create()
virtual AuctionBase* gams::auctions::AuctionFactory::create |
( |
const std::string & |
auction_prefix, |
|
|
const std::string & |
agent_prefix, |
|
|
madara::knowledge::KnowledgeBase * |
knowledge |
|
) |
| |
|
pure virtual |
◆ set_agent_prefix()
void gams::auctions::AuctionFactory::set_agent_prefix |
( |
const std::string & |
prefix | ) |
|
Sets the prefix for the current bidding agent.
- Parameters
-
prefix | the name of the agent(e.g. agent.0) |
◆ set_knowledge()
void gams::auctions::AuctionFactory::set_knowledge |
( |
madara::knowledge::KnowledgeBase * |
knowledge | ) |
|
Sets the knowledge base.
- Parameters
-
knowledge | the knowledge base to use |
◆ agent_prefix_
std::string gams::auctions::AuctionFactory::agent_prefix_ |
|
protected |
◆ knowledge_
madara::knowledge::KnowledgeBase* gams::auctions::AuctionFactory::knowledge_ |
|
protected |
The documentation for this class was generated from the following file: