negmas.common Module

Common data-structures and classes used by all other modules.

This module does not import anything from the library except during type checking

Classes

NegotiatorInfo(name, id, type)

Keeps information about a negotiator.

NegotiatorMechanismInterface(id, n_outcomes, ...)

All information of a negotiation visible to negotiators.

MechanismState([running, waiting, started, ...])

Encapsulates the mechanism state at any point

PreferencesChange([type, data])

PreferencesChangeType(value)

The type of change in preferences.

AgentMechanismInterface

A depricated alias for NegotiatorMechanismInterface

TraceElement(time, relative_time, step, ...)

An element of the trace returned by full_trace representing the history of the negotiation

Class Inheritance Diagram

digraph inheritance5af4e35122 { bgcolor=transparent; fontsize=11; randkir=TB; rankdir=LR; size=""; "Enum" [URL="https://docs.python.org/3/library/enum.html#enum.Enum",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Generic enumeration."]; "MechanismState" [URL="../api/negmas.common.MechanismState.html#negmas.common.MechanismState",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Encapsulates the mechanism state at any point"]; "NegotiatorInfo" [URL="../api/negmas.common.NegotiatorInfo.html#negmas.common.NegotiatorInfo",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Keeps information about a negotiator. Mostly for use with controllers."]; "NegotiatorMechanismInterface" [URL="../api/negmas.common.NegotiatorMechanismInterface.html#negmas.common.NegotiatorMechanismInterface",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="All information of a negotiation visible to negotiators."]; "PreferencesChange" [URL="../api/negmas.common.PreferencesChange.html#negmas.common.PreferencesChange",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "PreferencesChangeType" [URL="../api/negmas.common.PreferencesChangeType.html#negmas.common.PreferencesChangeType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The type of change in preferences."]; "Enum" -> "PreferencesChangeType" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TraceElement" [URL="../api/negmas.common.TraceElement.html#negmas.common.TraceElement",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="TraceElement(time, relative_time, step, negotiator, offer, responses, state)"]; }