Factory for creating minimum-bid auctions.
More...
#include <AuctionMinimumDistance.h>
Factory for creating minimum-bid auctions.
Definition at line 142 of file AuctionMinimumDistance.h.
◆ AuctionMinimumDistanceFactory()
gams::auctions::AuctionMinimumDistanceFactory::AuctionMinimumDistanceFactory |
( |
| ) |
|
◆ ~AuctionMinimumDistanceFactory()
virtual gams::auctions::AuctionMinimumDistanceFactory::~AuctionMinimumDistanceFactory |
( |
| ) |
|
|
virtual |
◆ create()
virtual AuctionBase* gams::auctions::AuctionMinimumDistanceFactory::create |
( |
const std::string & |
auction_prefix = "" , |
|
|
const std::string & |
agent_prefix = "" , |
|
|
madara::knowledge::KnowledgeBase * |
knowledge = 0 |
|
) |
| |
|
virtual |
Creates a minimum-bid auction.
- Parameters
-
auction_prefix | the name of the auction(e.g. auction.position) |
agent_prefix | the name of this bidder(e.g. agent.0) |
knowledge | the knowledge base to use for syncing |
- Returns
- the new group
Implements gams::auctions::AuctionFactory.
◆ set_agent_prefix()
void gams::auctions::AuctionFactory::set_agent_prefix |
( |
const std::string & |
prefix | ) |
|
|
inherited |
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 | ) |
|
|
inherited |
Sets the knowledge base.
- Parameters
-
knowledge | the knowledge base to use |
◆ agent_prefix_
std::string gams::auctions::AuctionFactory::agent_prefix_ |
|
protectedinherited |
◆ knowledge_
madara::knowledge::KnowledgeBase* gams::auctions::AuctionFactory::knowledge_ |
|
protectedinherited |
The documentation for this class was generated from the following file: