BasePref

class negmas.preferences.BasePref(*args, **kwargs)[source]

Bases: Protocol

Base Protcol for all preferences in NegMAS. All Preferences objects implement this interface

Attributes Summary

base_type

Returns the utility_function base type ignoring discounting and similar wrappings.

type

Returns the preferences type.

Methods Summary

is_session_dependent()

Does the utiltiy of an outcome depend on the NegotiatorMechanismInterface?

is_state_dependent()

Does the utiltiy of an outcome depend on the negotiation state?

is_stationary()

Is the ufun stationary (i.e. utility value of an outcome is a constant)?.

is_volatile()

Does the utiltiy of an outcome depend on factors outside the negotiation?

Attributes Documentation

base_type

Returns the utility_function base type ignoring discounting and similar wrappings.

type

Returns the preferences type.

Methods Documentation

abstract is_session_dependent()[source]

Does the utiltiy of an outcome depend on the NegotiatorMechanismInterface?

Return type:

bool

abstract is_state_dependent()[source]

Does the utiltiy of an outcome depend on the negotiation state?

Return type:

bool

abstract is_stationary()[source]

Is the ufun stationary (i.e. utility value of an outcome is a constant)?

Return type:

bool

abstract is_volatile()[source]

Does the utiltiy of an outcome depend on factors outside the negotiation?

Return type:

bool

Remarks:
  • A volatile preferences is one that can change even for the same mechanism state due to outside influence