objective_weighting.mcda_methods.mcda_method
Module Contents
Classes
Helper class that provides a standard way to create an ABC using |
- class objective_weighting.mcda_methods.mcda_method.MCDA_method[source]
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- __call__(self, matrix, weights, types)[source]
Score alternatives from decision matrix matrix using criteria weights weights and criteria types types
- Parameters
matrix (ndarray) – decision matrix with performance values for m alternatives in rows and n criteria in columns
weights (ndarray) – matrix with criteria weights vectors with number of columns equal to number of columns n of matrix
types (ndarray) – vector with criteria types containing values of 1 for profit criteria and -1 for cost criteria with size equal to number of columns n of matrix