AgentMechanismInterface

negmas.common.AgentMechanismInterface

A depricated alias for NegotiatorMechanismInterface

Attributes Summary

agent_ids

Gets the IDs of all agents owning all negotiators

agent_names

Gets the names of all agents owning all negotiators

cartesian_outcome_space

Returns the outcome_space as a CartesianOutcomeSpace or raises a ValueError if that was not possible.

issues

rtype

tuple[Issue, ...]

n_negotiators

Syntactic sugar for state.n_negotiators

negotiator_ids

Gets the IDs of all negotiators

negotiator_names

Gets the namess of all negotiators

outcomes

All outcomes for discrete outcome spaces or None for continuous outcome spaces.

params

Returns the parameters used to initialize the mechanism.

participants

rtype

list[NegotiatorInfo]

requirements

The protocol requirements

state

Access the current state of the mechanism.

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

keys()

random_outcomes([n])

A set of random outcomes from the outcome-space of this negotiation

values()

Attributes Documentation

Methods Documentation