public class MultipleBidHistory
extends java.lang.Object
Constructor and Description |
---|
MultipleBidHistory()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addBid(AgentID agentId,
BidDetails bidDetails)
Add a bid to a bidHistory of a certain agent
|
java.util.Set<AgentID> |
getAgentIds()
Returns the set of all agent ids in this multipleBidHistory
|
EnhancedBidHistory |
getCombinedHistory()
Returns the combined history of all agents
|
EnhancedBidHistory |
getHistory(AgentID agentId)
Returns the history of a particular agent
|
double |
getMinToughness(int numberOfBids)
Returns the minimum toughness of all agents (so it returns the toughness
of the toughest agent)
|
public void addBid(AgentID agentId, BidDetails bidDetails)
agentId
- bidDetails
- public EnhancedBidHistory getHistory(AgentID agentId)
agentId
- public EnhancedBidHistory getCombinedHistory()
public java.util.Set<AgentID> getAgentIds()
public double getMinToughness(int numberOfBids)