sortAlternativesValues

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

Description

This web service computes affectations of the alternatives from the given input data (3 inputs: alternatives, alternativesValues and categoriesLimits).

Contact: Dhouha Kbaier (dhouha.kbaier@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 id="..." [...]>
                <active>...</active>
        </alternative>
        [...]
</alternatives>

alternativesValues

A list of <alternativesValue> representing a certain numeric quantity for each alternative, like, e.g., an overall value.

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

<alternativesValues>
        <alternativeValue>
                <alternativeID>[...]</alternativeID>
                <values>
                        <value>
                                <integer>[...]</integer>
                        </value>
                </values>
        </alternativeValue>
        [...]
</alternativesValues>

categoriesLimits

The list of categories and the corresponding right semi-open intervals(i.e., [lowerBound,upperBound[).

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

<categoriesValues>
        <categoryValue>
                <categoryID>[...]</categoryID>
                <values>
                        <value>
                                <interval>
                                        <lowerBound>
                                                <real>[...]</real>
                                         </lowerBound>
                                        <upperBound>
                                                <real>[...]</real>
                                        </upperBound>
                                </interval>
                        </value>
                </values>
        </categoryValue>
        [...]
</categoriesValues>

Outputs

affectations

The assignments of the alternatives computed from the given input data.

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


messages

A list of messages generated by the algorithm.

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


Original xml description