AgentMechanismInterface
- negmas.common.AgentMechanismInterface
A depricated alias for
NegotiatorMechanismInterfaceAttributes Summary
agent_idsGets the IDs of all agents owning all negotiators
agent_namesGets the names of all agents owning all negotiators
annotationAn arbitrary annotation as a
dict[str, Any]that is always available for all negotiatorsatomic_stepscartesian_outcome_spaceReturns the
outcome_spaceas aCartesianOutcomeSpaceor raises aValueErrorif that was not possible.dynamic_entryWhether it is allowed for negotiators to enter/leave the negotiation after it starts
estimated_n_stepsReturn an estimate of the number of steps for this negotiation.
estimated_time_limitReturn an estimate of the number of seconds for this negotiation.
genius_negotiator_idsGets the Java IDs of all negotiators (if the negotiator is not a GeniusNegotiator, its normal ID is returned)
historyidMechanism session ID.
issuesmax_n_negotiatorsMaximum allowed number of negotiators in the session.
mechanism_idGets the ID of the mechanism
n_negotiatorsSyntactic sugar for state.n_negotiators
n_outcomesNumber of outcomes which may be
float('inf')indicating infinityn_stepsThe allowed number of steps for this negotiation.
negotiator_idsGets the IDs of all negotiators
negotiator_time_limitThe time limit in seconds to wait for negotiator responses of this negotiation session.
outcome_spaceNegotiation agenda as as an
OutcomeSpaceobject.outcomesAll outcomes for discrete outcome spaces or None for continuous outcome spaces.
paramsReturns the parameters used to initialize the mechanism.
participantspendThe probability that the negotiation times out at every step.
pend_per_secondThe probability that the negotiation times out every second.
requirementsThe protocol requirements
stateAccess the current state of the mechanism.
step_time_limitThe time limit in seconds for each step of ;this negotiation session.
time_limitThe time limit in seconds for this negotiation session.
Methods Summary
asdict()Converts the object to a dict containing all fields
discrete_outcome_space([levels, max_cardinality])Returns a stable discrete version of the given outcome-space
discrete_outcomes([max_cardinality])A discrete set of outcomes that spans the outcome space
genius_id(id)Gets the Genius ID corresponding to the given negotiator if known otherwise its normal ID
keys()log_critical(nid, data)Logs at critical level
log_debug(nid, data)Logs at debug level
log_error(nid, data)Logs at error level
log_info(nid, data)Logs at info level
log_warning(nid, data)Logs at warning level
negotiator_index(source)Returns the negotiator index for the given negotiator.
random_outcome()A single random outcome.
random_outcomes([n])A set of random outcomes from the outcome-space of this negotiation
values()Attributes Documentation
Methods Documentation