public class Group6 extends AbstractNegotiationParty
deadlines, rand, timeline, utilitySpace
Constructor and Description |
---|
Group6() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction(java.util.List<java.lang.Class<? extends Action>> validActions)
When this function is called, it is expected that the Party chooses one
of the actions from the possible action list and returns an instance of
the chosen action.
|
void |
init()
init is called when a next session starts with the same opponent.
|
void |
receiveMessage(java.lang.Object sender,
Action opponentAction) |
java.util.TreeMap<java.lang.Double,Bid> |
updateOpponentModel(double OfferedUtil,
Bid OfferedBid) |
generateRandomBid, getDescription, getNumberOfParties, getPartyId, getProtocol, getRandomValue, getTimeLine, getUtility, getUtilitySpace, getUtilityWithDiscount, init, receiveMessage, toString
public void init()
public void receiveMessage(java.lang.Object sender, Action opponentAction)
public Action chooseAction(java.util.List<java.lang.Class<? extends Action>> validActions)
NegotiationParty
validActions
- List of all actions possible.Action
.