SurrogateWeights

Version:1.0.0
Provider:PUT
Name:surrogateWeights
SOAP service’s name:
 surrogateWeights-PUT (see SOAP requests for details)

Description

SurrogateWeights - computes weights of criteria using ranking specified by user. Module allows to choose one of four methods.

Web page: https://github.com/Yamadads/PrometheeDiviz

Inputs

(For outputs, see below)

criteria_ranking

Criteria Values listing full ranking of criteria.

The input value should be a valid XMCDA document whose main tag is <criteriaValues>. It must have the following form:

<criteriaValues name="ranking" mcdaConcept="Importance">
        <criterionValue>
                <criterionID>c01</criterionID>
                <values>
                        <value>
                                <integer>1</integer>
                        </value>
                </values>
        </criterionValue>
        <criterionValue>
                <criterionID>c02</criterionID>
                <values>
                        <value>
                                <integer>2</integer>
                        </value>
                </values>
        </criterionValue>
        <criterionValue>
                <criterionID>c03</criterionID>
                <values>
                        <value>
                                <integer>3</integer>
                        </value>
                </values>
        </criterionValue>
</criteriaValues>

method_parameters

PrometheeSurrogateWeigts module creates weights for criteria using several methods. In this parameter you can choose this method.

The input value should be a valid XMCDA document whose main tag is <programParameters>. It must have the following form:

<programParameters>
        <parameter name="method">
                <values>
                        <value>
                                <label>%1</label>
                        </value>
                </values>
        </parameter>
</programParameters>

where:

  • %1 is a parameter named “method”. It can have the following values:

    • equal_weights: Equal weights - return equal weight for each criterion
    • rank_sum: Rank sum - provides normalized weights from the relationship between the ranking position of the criterion and the sum of ranks.
    • rank_reciprocal: Reciprocal of the Ranks - This method uses the reciprocal of the ranks which are normalized by dividing each term by the sum of the reciprocals.
    • rank_ordered_centroid: Rank-Order Centroid - This method uses the vertices from the simplex to define the centroid weight for the criteria.

    The default value is item0.


Outputs

weights

Weights for each criterion

The returned value is a XMCDA document whose main tag is <criteriaValues>.


messages

Messages or errors generated by this module.

The returned value is a XMCDA document whose main tag is <programExecutionResult>.


Original xml description