plotAlternativesHasseDiagram

Version:0.2
Provider:PUT
SOAP service’s name:
 plotAlternativesHasseDiagram-PUT (see SOAP requests for details)

Description

Draws Hasse diagram - visualization of transitive reduction of a finite partially ordered set. Service developed by Krzysztof Ciomek (Poznan University of Technology, under supervision of Milosz Kadzinski).

Contact:
Krzysztof Ciomek (k.ciomek@gmail.com), Milosz Kadzinski (milosz.kadzinski@cs.put.poznan.pl)

Web page: None

Reference: None

Inputs

(For outputs, see below)

alternatives

A list of alternatives.

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>


preferenceRelation

Necessary assignment based preference relation between alternatives.

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

<alternativesMatrix>
<row>

<alternativeID>a1</alternativeID> <column>

<alternativeID>a2</alternativeID> <values><value><real>0.0</real></value></values>

</column> <column>

<alternativeID>a7</alternativeID> <values><value><real>0.0</real></value></values>

</column> […]

</row> […]

</alternativesMatrix>


parameters

Diagram drawing parameters.

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

<programParameters>
<parameter name=”cluster”>
<values>
<value>
<boolean>%1</boolean>

</value>

</values>

</parameter> <parameter name=”transitiveReduction”>

<values>
<value>
<boolean>%2</boolean>

</value>

</values>

</parameter> <parameter name=”shape”>

<values>
<value>
<label>%3</label>

</value>

</values>

</parameter> <parameter name=”arrows”>

<values>
<value>
<label>%4</label>

</value>

</values>

</parameter>

</programParameters>

where:

  • %1 is a parameter named “cluster”. This is a boolean. The default value is true.

  • %2 is a parameter named “transitiveReduction”. This is a boolean. The default value is true.

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

    • roundrect: Rounded rectangle.
    • rect: Rectangle.

    The default value is roundrect.

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

    • forward: Forward.
    • backward: Backward.
    • both: Both directions.

    The default value is forward.


Outputs

hasseDiagram.png

Hasse diagram.

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


messages

Messages generated by the program.

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


Original xml description