public abstract class Mediator extends AbstractNegotiationParty
deadlines, partyId, rand, timeline, utilitySpace
Constructor and Description |
---|
Mediator(UtilitySpace utilitySpace,
java.util.Map<DeadlineType,java.lang.Object> deadlines,
Timeline timeline,
long randomSeed)
Initializes a new instance of the
Mediator class. |
Modifier and Type | Method and Description |
---|---|
AgentID |
getPartyId()
Gets the agent's unique id
Each agent should contain a (unique) id.
|
generateRandomBid, getRandomValue, getTimeLine, getUtility, getUtilitySpace, getUtilityWithDiscount, setPartyId, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chooseAction, receiveMessage
public Mediator(UtilitySpace utilitySpace, java.util.Map<DeadlineType,java.lang.Object> deadlines, Timeline timeline, long randomSeed)
Mediator
class.utilitySpace
- The utility space used by this classdeadlines
- The deadlines for this sessiontimeline
- The time line (if time deadline) for this session, can be nullrandomSeed
- The seed that should be used for all randomization (to be reproducible)public AgentID getPartyId()
getPartyId
in interface NegotiationParty
getPartyId
in class AbstractNegotiationParty