PreferencesChangeType
- class negmas.common.PreferencesChangeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
Enum
The type of change in preferences.
Remarks:
Returned from
changes
property ofPreferences
to help the owner of the preferences in deciding what to do with the change.Received by the
on_preferences_changed
method ofRational
entities to inform them about a change in preferences.Note that the
Rational
entity needs to callchanges
explicitly and call its ownon_preferences_changed
to handle changes that happen without assignment topreferences
of theRational
entity.If the
preferences
of theRational
agent are changed through assignment, itson_preferences_changed
will be called with the appropriatePreferencesChange
list.
Attributes Summary
Attributes Documentation
- General = 1
- ReservedOutcome = 5
- ReservedValue = 4
- Scale = 2
- Shift = 3
- UncertaintyIncreased = 7
- UncertaintyReduced = 6