GAMS  1.4.0
gams::auctions::AuctionBid Class Reference

Auction bidding instance. More...

#include <AuctionBid.h>

Public Member Functions

bool operator< (const AuctionBid &rhs) const
 Compares for bid less than. More...
 
bool operator== (const AuctionBid &rhs) const
 Compares for bid equality. More...
 
bool operator> (const AuctionBid &rhs) const
 Compares for bid greater than. More...
 

Public Attributes

madara::knowledge::KnowledgeRecord amount
 the amount of the bid(e.g., 2.50) More...
 
std::string bidder
 the id of the bidder(e.g., "agent.0") More...
 

Detailed Description

Auction bidding instance.

Definition at line 71 of file AuctionBid.h.

Member Function Documentation

◆ operator<()

bool gams::auctions::AuctionBid::operator< ( const AuctionBid rhs) const

Compares for bid less than.

◆ operator==()

bool gams::auctions::AuctionBid::operator== ( const AuctionBid rhs) const

Compares for bid equality.

◆ operator>()

bool gams::auctions::AuctionBid::operator> ( const AuctionBid rhs) const

Compares for bid greater than.

Member Data Documentation

◆ amount

madara::knowledge::KnowledgeRecord gams::auctions::AuctionBid::amount

the amount of the bid(e.g., 2.50)

Definition at line 94 of file AuctionBid.h.

◆ bidder

std::string gams::auctions::AuctionBid::bidder

the id of the bidder(e.g., "agent.0")

Definition at line 91 of file AuctionBid.h.


The documentation for this class was generated from the following file: