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.base.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)

__abstractmethods__ = frozenset({})
__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.nimbus'
__setitem__(key, value)[source]

Shortcut to manipulate a single classification.

_as_reference_point()[source]

Return classification information as reference point

Return type

ndarray

_maxmap = {'<': '>', '<=': '>=', '=': '=', '>': '<', '>=': '<='}
with_class(cls)[source]

Return functions with the class

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

Bases: desdeo.preference.base.PreferenceInformation

__abstractmethods__ = frozenset({})
__init__(method, reference_point=None)[source]

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

Return type

None

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

Return reference point corresponding to the given preference information