pyrepo_mcda.mcda_methods.mcda_method
Classes
Helper class that provides a standard way to create an ABC using |
Module Contents
- class pyrepo_mcda.mcda_methods.mcda_method.MCDA_method
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- __call__(matrix, weights, types)
Score alternatives from decision matrix matrix using criteria weights weights and criteria types types
Parameters
- matrixndarray
decision matrix with performance values for m alternatives in rows and n criteria in columns
- weightsndarray
matrix with criteria weights vectors with number of columns equal to number of columns n of matrix
- typesndarray
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
- static _verify_input_data(matrix, weights, types)