PreferencesChangeType
- class negmas.common.PreferencesChangeType(*values)[source]
Bases:
EnumThe type of change in preferences.
Remarks:
Returned from
changesproperty ofPreferencesto help the owner of the preferences in deciding what to do with the change.Received by the
on_preferences_changedmethod ofRationalentities to inform them about a change in preferences.Note that the
Rationalentity needs to callchangesexplicitly and call its ownon_preferences_changedto handle changes that happen without assignment topreferencesof theRationalentity.If the
preferencesof theRationalagent are changed through assignment, itson_preferences_changedwill be called with the appropriatePreferencesChangelist.
Attributes Summary
Attributes Documentation
- General = 1
- OSExpanded = 9
- OSRestricted = 8
- ReservedOutcome = 5
- ReservedValue = 4
- Scale = 2
- Shift = 3
- UncertaintyIncreased = 7
- UncertaintyReduced = 6