public class GeneralModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
generated |
Constructor and Description |
---|
GeneralModel(AdditiveUtilitySpace utilSpace,
SortedOutcomeSpace sortedOutcomeSpace) |
Modifier and Type | Method and Description |
---|---|
void |
generate()
Generates a table of proposals when the normalized time = 0.5.
|
Opponent |
getOpponent(AgentID opponentID)
Retrieve the indicated agent when a bid is received, so that this bid can
be added to the correct opponent's bidList.
|
Bid |
getProposal()
Increments the index counter used to access the proposals field, and
returns the bid at that index if it exists or null otherwise.
|
AdditiveUtilitySpace |
getUtilSpaceGeneral() |
boolean |
isGenerated() |
void |
setGenerated(boolean generated) |
public GeneralModel(AdditiveUtilitySpace utilSpace, SortedOutcomeSpace sortedOutcomeSpace)
utilSpace
- utility space of Group16sortedOutcomeSpace
- all possible bids sorted according to utilSpacepublic Opponent getOpponent(AgentID opponentID)
opponentID
- ID of opponent to retrievepublic void generate()
public Bid getProposal()
public AdditiveUtilitySpace getUtilSpaceGeneral()
public boolean isGenerated()
public void setGenerated(boolean generated)