public class NullStrategy extends OMStrategy
model, negotiationSession
Constructor and Description |
---|
NullStrategy() |
NullStrategy(NegotiationSession negotiationSession,
double time) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUpdateOM() |
BidDetails |
getBid(java.util.List<BidDetails> allBids)
Returns a bid selected using the opponent model from the given
set of similarly preferred bids.
|
void |
init(NegotiationSession negotiationSession,
OpponentModel model,
java.util.HashMap<java.lang.String,java.lang.Double> parameters) |
getBid, getBid, init
public NullStrategy()
public NullStrategy(NegotiationSession negotiationSession, double time)
public void init(NegotiationSession negotiationSession, OpponentModel model, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
init
in class OMStrategy
java.lang.Exception
public BidDetails getBid(java.util.List<BidDetails> allBids)
OMStrategy
getBid
in class OMStrategy
allBids
- set of similarly preferred bidspublic boolean canUpdateOM()
canUpdateOM
in class OMStrategy