public interface PocketNegotiatorAgent
Modifier and Type | Method and Description |
---|---|
Action |
getAction()
ask the agent for its next action.
|
void |
handleAction(Action act)
the agent's opponent did an action.
|
void |
initPN(UtilitySpace mySide,
UtilitySpace otherSide,
Timeline timeline)
initializes the agent, with suggestions for utility space for mySide and
otherSide.
|
void |
updateProfiles(UtilitySpace myUtilities,
UtilitySpace opponentUtilities)
Change own and other side utility profile to the given one.
|
void initPN(UtilitySpace mySide, UtilitySpace 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(UtilitySpace myUtilities, UtilitySpace opponentUtilities)
myUtilities
- the new UtilitySpace
for the bot to use as his own
utility space.opponentUtilities
- the new UtilitySpace
for the bot to use as his
opponent utility space.