negmas.negotiators Module

This module defines the interfaces to all negotiation agents (negotiators) in negmas.

Classes

Negotiator(name, ufun, parent, owner, id)

Abstract negotiation agent.

AspirationMixin()

Adds aspiration level calculation.

Controller(default_negotiator_type, …)

Controls the behavior of multiple negotiators in multiple negotiations

NegotiatorInfo(negotiator, context)

The return type of negmas.negotiators Module member of Controller.

PassThroughNegotiator(name, ufun, parent, …)

A negotiator that can be used to pass all method calls to a parent (Controller).

EvaluatorMixin()

A mixin that can be used to have the negotiator respond to evaluate messages from the server

RealComparatorMixin()

BinaryComparatorMixin()

NLevelsComparatorMixin()

RankerMixin()

Adds the ability to rank outcomes returning the ranks without weights.

RankerWithWeightsMixin()

Adds the ability to rank outcomes returning the ranks and weights

SorterMixin()

Adds the ability to sort outcomes according to utility.

EvaluatorNegotiator(*args, **kwargs)

A negotiator that can be asked to evaluate outcomes using its internal ufun.

RealComparatorNegotiator(*args, **kwargs)

A negotiator that can be asked to evaluate outcomes using its internal ufun.

BinaryComparatorNegotiator(*args, **kwargs)

A negotiator that can be asked to compare two outcomes using is_better.

NLevelsComparatorNegotiator(*args, …)

A negotiator that can be asked to compare two outcomes using compare_nlevels which returns the strength of the difference between two outcomes as an integer from [-n, n] in the C compare sense.

RankerNegotiator(*args, **kwargs)

A negotiator that can be asked to rank outcomes.

RankerWithWeightsNegotiator(*args, **kwargs)

A negotiator that can be asked to rank outcomes returning rank and weight.

SorterNegotiator(*args, **kwargs)

A negotiator that can be asked to rank outcomes returning rank without weight.

Class Inheritance Diagram

Inheritance diagram of negmas.negotiators.Negotiator, negmas.negotiators.AspirationMixin, negmas.negotiators.Controller, negmas.negotiators.NegotiatorInfo, negmas.negotiators.PassThroughNegotiator, negmas.negotiators.EvaluatorMixin, negmas.negotiators.RealComparatorMixin, negmas.negotiators.BinaryComparatorMixin, negmas.negotiators.NLevelsComparatorMixin, negmas.negotiators.RankerMixin, negmas.negotiators.RankerWithWeightsMixin, negmas.negotiators.SorterMixin, negmas.negotiators.EvaluatorNegotiator, negmas.negotiators.RealComparatorNegotiator, negmas.negotiators.BinaryComparatorNegotiator, negmas.negotiators.NLevelsComparatorNegotiator, negmas.negotiators.RankerNegotiator, negmas.negotiators.RankerWithWeightsNegotiator, negmas.negotiators.SorterNegotiator