skcriteria.agg.mairca module

MAIRCA (Multi Attributive Ideal Real Comparative Analysis) Method.

skcriteria.agg.mairca.mairca(matrix, objectives, weights, P_ai)[source]

Execute MAIRCA without any validation.

class skcriteria.agg.mairca.MAIRCA[source]

Bases: SKCDecisionMakerABC

MAIRCA (MultiAtributive Ideal-Real Comparative Analysis).

MAIRCA was developed in 2014 by the Center for Logistics Research at the University of Defence in Belgrade. The basic MAIRCA setup is to define the gap observed for each alternative. This gap is calculated as the difference between the “theoretical rating matrix” and the “real rating matrix.” The best alternative is the one with the lowest total gap value.

Parameters:
  • P_ai (numpy array with len(P_ai) equal to alternatives total.)

  • alternatives. (Represents preferences for)

References

[Gigovic et al., 2016] [Aksoy, 2021] [Pamucar et al., 2018]

evaluate(dm, *, P_ai=None)[source]

Validate the dm and calculate and evaluate the alternatives.

Parameters:
  • dm (skcriteria.data.DecisionMatrix)

  • calculated. (Decision matrix on which the ranking will be)

Returns:

Ranking.

Return type:

skcriteria.data.RankResult