desdeo.preference

This package contains various classes acting as containers for preference information given by a decision maker about which objectives they are concerned with and to what degree. It is sued by the methods defined in desdeo.method.

class desdeo.preference.NIMBUSClassification(method, functions, **kwargs)[source]

Bases: desdeo.preference.PreferenceInformation.ReferencePoint

Preferences by NIMBUS classification

_classification

NIMBUSClassification information pairing objective n to a classification with value if needed

Type

Dict (objn_n, (class,value))

_maxmap

Minimization - maximiation mapping of classification symbols

Type

NIMBUSClassification (default:None)

__getitem__(key)[source]

Shortcut to query a classification.

__init__(method, functions, **kwargs)[source]

Initialize the classification information

Parameters

functions (list ((class,value)) – Function classification information

Return type

None

__module__ = 'desdeo.preference.PreferenceInformation'
__setitem__(key, value)[source]

Shortcut to manipulate a single classification.

with_class(cls)[source]

Return functions with the class

class desdeo.preference.ReferencePoint(method, reference_point=None)[source]

Bases: desdeo.preference.PreferenceInformation.PreferenceInformation

__init__(method, reference_point=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Return type

None

__module__ = 'desdeo.preference.PreferenceInformation'
reference_point()[source]

Return reference point corresponding to the given preference information