<< Average | index | CentreReduce >>

DECIDE reference

DECIDE__Borda

short DECIDE_Borda(

    * double * ResultsArray,
    * const long * ResultsArraySize,
    * double * DecisionMatrix,
    * const short * RowsCount,
    * const short * ColumnsCount)

Compute the "Borda totals" for a decision matrix.

ResultsArray contains the totals, DecisionMatrix contains the ranking for each criteria, as obtained with DECIDE__Preprocess, mode 8.

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
    * 101 : *RowsCount < 1
    * 102 : *ColumnsCount < 1
    * 103 : *OutputMatrixSize < (*RowsCount) * sizeof(double))
    * 901 : internal call to DECIDE__PreProcess failed

<< Average | index | CentreReduce >>


printer friendly view

Google

 

Web

www.christophedavid.org