GAMS  1.4.0
AuctionMaximumBid.h
Go to the documentation of this file.
1 
54 #ifndef _GAMS_AUCTIONS_MAXIMUM_BID_H_
55 #define _GAMS_AUCTIONS_MAXIMUM_BID_H_
56 
57 #include <vector>
58 #include <string>
59 #include <map>
60 
61 #include "madara/knowledge/containers/StringVector.h"
62 
63 #include "AuctionBase.h"
64 #include "AuctionFactory.h"
65 
66 namespace gams
67 {
68  namespace auctions
69  {
74  {
75  public:
82  AuctionMaximumBid(const std::string & auction_prefix = "",
83  const std::string & agent_prefix = "",
84  madara::knowledge::KnowledgeBase * knowledge = 0);
85 
89  virtual ~AuctionMaximumBid();
90 
95  virtual std::string get_leader(void);
96  };
97 
102  {
103  public:
104 
109 
114 
122  virtual AuctionBase * create(const std::string & auction_prefix = "",
123  const std::string & agent_prefix = "",
124  madara::knowledge::KnowledgeBase * knowledge = 0);
125  };
126  }
127 }
128 
129 #endif // _GAMS_AUCTIONS_MAXIMUM_BID_H_
Copyright(c) 2016 Carnegie Mellon University.
Copyright(c) 2016 Carnegie Mellon University.
#define GAMS_EXPORT
Definition: GamsExport.h:20
Base class for an auction.
Definition: AuctionBase.h:79
Base class for an auction factory.
Factory for creating maximum-bid auctions.
virtual ~AuctionMaximumBidFactory()
Destructor.
virtual AuctionBase * create(const std::string &auction_prefix="", const std::string &agent_prefix="", madara::knowledge::KnowledgeBase *knowledge=0)
Creates a maximum-bid auction.
An auction where the winner is the highest bidder.
virtual ~AuctionMaximumBid()
Constructor.
AuctionMaximumBid(const std::string &auction_prefix="", const std::string &agent_prefix="", madara::knowledge::KnowledgeBase *knowledge=0)
Constructor.
virtual std::string get_leader(void)
Returns the leader of the bidding process.
Contains all GAMS-related tools, classes and code.