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

Class Inheritance Diagram

digraph inheritance38d8d560ac { bgcolor=transparent; fontsize=11; randkir=TB; rankdir=LR; size=""; "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",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",tooltip="PreferencesChange(type: 'PreferencesChangeType' = <PreferencesChangeType.General: 1>, data: 'Any' = None)"]; "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)"]; }