public interface PocketNegotiatorAgent
Modifier and Type | Method and Description |
---|---|
Action |
getAction()
ask the agent for its next action.
|
java.lang.String |
getLastBidExplanation()
Get a human readable explanation on why getAction returned its last
action.
|
void |
handleAction(Action act)
the agent's opponent did an action.
|
void |
initPN(AdditiveUtilitySpace mySide,
AdditiveUtilitySpace otherSide,
Timeline timeline)
initializes the agent, with suggestions for utility space for mySide and
otherSide.
|
void |
updateProfiles(AdditiveUtilitySpace myUtilities,
AdditiveUtilitySpace opponentUtilities)
Change own and other side utility profile to the given one.
|
void initPN(AdditiveUtilitySpace mySide, AdditiveUtilitySpace otherSide, Timeline timeline)
mySide
- otherSide
- timeline
- the Timeline
keeping track of where we are in the
negotiation. We pass it here because the init may already need
it.void handleAction(Action act)
act
- Action getAction()
void updateProfiles(AdditiveUtilitySpace myUtilities, AdditiveUtilitySpace opponentUtilities)
myUtilities
- the new AdditiveUtilitySpace
for the bot to use as his
own utility space.opponentUtilities
- the new AdditiveUtilitySpace
for the bot to use as his
opponent utility space.java.lang.String getLastBidExplanation()