GAMS  1.2.2
AuctionMinimumBid.h
Go to the documentation of this file.
1 
54 #ifndef _GAMS_AUCTIONS_MINIMUM_BID_H_
55 #define _GAMS_AUCTIONS_MINIMUM_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  AuctionMinimumBid (const std::string & auction_prefix = "",
83  const std::string & agent_prefix = "",
84  madara::knowledge::KnowledgeBase * knowledge = 0);
85 
89  virtual ~AuctionMinimumBid ();
90 
95  virtual std::string get_leader (void);
96  };
97 
102  {
103  public:
104 
109 
113  virtual ~AuctionMinimumBidFactory ();
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_MINIMUM_BID_H_
Base class for an auction factory.
An auction where the winner is the lowest bidder.
Copyright (c) 2016 Carnegie Mellon University.
Copyright (c) 2016 Carnegie Mellon University.
Base class for an auction.
Definition: AuctionBase.h:78
Contains all GAMS-related tools, classes and code.
#define GAMS_EXPORT
Definition: GamsExport.h:20
Factory for creating minimum-bid auctions.