public abstract class IAGOCoreBehavior extends java.lang.Object implements BehaviorPolicy
Constructor and Description |
---|
IAGOCoreBehavior() |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
getAcceptMargin()
Gets the amount of points that the agent requires to be ahead of its opponent before accepting.
|
protected abstract Offer |
getAcceptOfferFollowup(History history)
Gets the offer that comes after the agent's adversary accepts an offer.
|
protected boolean |
getAgentBelief()
Returns the value of the agent belief, true if fixed pie, false if integrative
|
protected abstract Offer |
getAllocated()
Retrieves the internal representation of what offers are considered "firm" currently.
|
protected abstract Offer |
getConceded()
Retrieves the internal representation of what the agent is maintaining as its heuristic currently.
|
protected abstract Offer |
getFinalOffer(History history)
Gets the offer that comes when you're nearly out of time.
|
protected abstract Offer |
getFirstOffer(History history)
Gets that is proposed immediately once the game starts.
|
protected abstract Offer |
getRejectOfferFollowup(History history)
Gets that is proposed after the agent's adversary rejects an offer.
|
protected abstract Offer |
getTimingOffer(History history)
Gets the offer that comes when you've been idle.
|
protected abstract void |
setUtils(AgentUtilsExtension utils)
Helper for adding an AgentUtilsExtension.
|
protected abstract void |
updateAdverseEvents(int change)
Allows you to change the adverse Events counter, which weakens the agent's margin
|
protected abstract void |
updateAllocated(Offer update)
Update the internal representation of what offers are considered "firm" currently.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextOffer
protected abstract void updateAllocated(Offer update)
update
- the total summed offer to saveprotected abstract Offer getAllocated()
protected abstract Offer getFinalOffer(History history)
history
- the history to useprotected abstract void setUtils(AgentUtilsExtension utils)
utils
- the utils to addprotected abstract Offer getTimingOffer(History history)
history
- the history to useprotected abstract Offer getAcceptOfferFollowup(History history)
history
- the history to useprotected abstract Offer getFirstOffer(History history)
history
- the history to useprotected abstract int getAcceptMargin()
protected abstract Offer getRejectOfferFollowup(History history)
history
- the history to useprotected abstract Offer getConceded()
protected boolean getAgentBelief()
protected abstract void updateAdverseEvents(int change)
change
- the amount to change by