package agents.ai2014.group11; import genius.core.Bid; import genius.core.bidding.BidDetails; /** * Wrapper object for a Bid and its estimated Nash Product value * * Using the methods of the well-known BidDetails */ public class BidDetailsWithNash extends BidDetails { private static final long serialVersionUID = 5739523536737751055L; public BidDetailsWithNash(Bid bid, double nashProduct) { super(bid, nashProduct); } public BidDetailsWithNash(Bid bid, double nashProduct, double time) { super(bid, nashProduct, time); } /** * Get the Nash value from this Bid * @return */ public double getEstimatedNashValue() { return getMyUndiscountedUtil(); } }