|
|
<< PreProcess | index | PromPrefLevTyp1 >> DECIDE referenceDECIDE__Prometheeshort DECIDE_Promethee( * double * OutputArray,
* const long * OutputArraySize,
* const double * DecisionMatrix,
* const double * WeightsMatrix,
* const short * RowsCount,
* const short * ColumnsCount,
* const double * Alpha,
* const double * Lambda,
* const double * Mu,
* const short * Mode)
Compute the total ranking of DecisionMatrix using the Promethee II and III methods : * mode 2 : Promethee II (total ranking)
* mode 3 : Promethee III (total ranking with amplified indifference)
Notes : * For Promethee I, see DECIDE_DecisionMatrixFlows.
* To turn off the Lambda filter, use 1 for Lambda.
* To turn off the Mu filter, use 0 for Mu.
* The function stores -9.97 for the actions that do not pass the Lambda filter.
* The function stores -9.98 for the actions that do not pass the Mu filter.
* The function stores -9.99 for the actions that do not pass the Lambda nor the Mu filter.
* Promethee III with Alpha = 0 gives by definition the same results as Promethee II.
* The value of the Alpha parameter is only used for Promethee III calculations (mode 3), but the Alpha parameter is required for all modes
return value : * 0 : completed successfully
* 1 : null pointer in first parameter
* 2 : null pointer in second parameter
* 3 : null pointer in third parameter
* 4 : null pointer in fourth parameter
* 5 : null pointer in fifth parameter
* 6 : null pointer in sixth parameter
* 7 : null pointer in seventh parameter
* 8 : null pointer in eighth parameter
* 9 : null pointer in ninth parameter
* 10 : null pointer in tenth parameter
* 101 : *RowsCount < 1
* 102 : *ColumnsCount < 1
* 103 : *OutputMatrixSize < (long)( (*RowsCount) * sizeof(double))
* 104 : invalid Mode
* 106 : weights matrix contains unacceptable data for a Promethee min/max parameter
* 107 : weights matrix contains unacceptable data for a Promethee criterion type
* 900 : malloc() failed
* 901 : internal call to DECIDE_DecisionMatrixFlows failed
* 911 : internal call to DECIDE_PrometheePreferenceLevelType1 failed
* 912 : internal call to DECIDE_PrometheePreferenceLevelType2 failed
* 913 : internal call to DECIDE_PrometheePreferenceLevelType3 failed
* 914 : internal call to DECIDE_PrometheePreferenceLevelType4 failed
* 915 : internal call to DECIDE_PrometheePreferenceLevelType5 failed
* 916 : internal call to DECIDE_PrometheePreferenceLevelType6 failed
<< PreProcess | index | PromPrefLevTyp1 >>
|