AspirationMixin

class negmas.negotiators.AspirationMixin[source]

Bases: object

Adds aspiration level calculation. This Mixin MUST be used with a Negotiator class.

Methods Summary

aspiration(t)

The aspiration level

aspiration_init(max_aspiration, aspiration_type)

param max_aspiration

Methods Documentation

aspiration(t: float)float[source]

The aspiration level

Parameters

t – relative time (a number between zero and one)

Returns

aspiration level

aspiration_init(max_aspiration: float, aspiration_type: Union[str, int, float], above_reserved_value=True)[source]
Parameters
  • max_aspiration

  • aspiration_type

  • above_reserved_value