invertAlternativesRanks

Version:1.0
Provider:RXMCDA
SOAP service’s name:
 invertAlternativesRanks-RXMCDA (see SOAP requests for details)

Description

Inverts ranks of alternatives (the highest rank becomes the lowest, etc.).

Contact: Patrick Meyer (patrick.meyer@telecom-bretagne.eu)

Inputs

(For outputs, see below)

alternatives

A list of alternatives. Alternatives can be activated or desactivated via the <active> tag (true or false). By default (no <active> tag), alternatives are considered as active.

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

<alternatives>
    <alternative>
        <active>[...]</active>
        [...]
    </alternative>
    [...]
</alternatives>

alternativesValues

A list of strictly positive integer <alternativesValue> representing the ranks of the alternatives.

The input value should be a valid XMCDA document whose main tag is <alternativesValues>.


Outputs

alternativesRanks

A list of strictly positive integer <alternativesValue> representing the inverted ranks of the alternatives.

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


messages

A list of messages generated by the algorithm.

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


Original xml description