SRFWeights

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

Description

SRFWeights - computes weights of criteria using the revised Simos procedure

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

Inputs

(For outputs, see below)

criteria_ranking

Criteria Values listing full ranking of criteria and containing information about blank cards.

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>3</integer>
                        </value>
                </values>
        </criterionValue>
        <criterionValue>
                <criterionID>c03</criterionID>
                <values>
                        <value>
                                <integer>4</integer>
                        </value>
                </values>
        </criterionValue>
        </criteriaValues>

method_parameters

Simos? procedure needs some parameters from users.
First parameter is telling how many times the last criterion is more important than the first one in the ranking Second parameter is telling how many decimal places can be used in weight value.

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

<programParameters>
        <parameter name="criteria_weight_ratio">
                <values>
                        <value>
                                <real>%1</real>
                        </value>
                </values>
        </parameter>
        <parameter name="decimal_places">
                <values>
                        <value>
                                <label>%2</label>
                        </value>
                </values>
        </parameter>
        </programParameters>

where:

  • %1 is a parameter named “criteria weight ratio”. This is a float.

  • %2 is a parameter named “decimal places”. It can have the following values:

    • 0: Integer value
    • 1: One decimal place
    • 2: Two decimal places

    The default value is item0.


Outputs

weights

Weights for each criterion generated by Simos’ procedure

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