generatePerformanceTableFromBayesianNet

Provider:RXMCDA
Version:1.0

Description

Generates a random performance table, given a weighted bayesian net representing the interactions (and their correlation indexes) between the criteria, together with desired mean and standard deviation values for each criterion. The number of alternatives to generate can be specified, as well as the prefix to be used for the ids of these alternatives. An optional seed can also be given.

Inputs

(For outputs, see below)

criteria

Description:

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

bayesian correlations graph

Description:

The bayesian net, weighted by the desired correlations between the criteria.

XMCDA related:

  • Tag: criteriaComparisons

  • Code:

     <criteriaComparisons>
         <pairs>
             <pair>
                 <initial>
                     <criterionID>[...]</criterionID>
                 </initial>
                 <terminal>
                     <criterionID>[...]</criterionID>
                 </terminal>
                 <value>
                     <real>[...]</real>
                 </value>
           </pair>
           [...]
       </pairs>
    </criteriaComparisons>
    

means

Description:

The desired means of the criteria of the generated performance table.

XMCDA related:

  • Tag: criteriaValues

  • Code:

    <criteriaValues>
       <criterionValue>
           <criterionID>[...]</criterionID>
               <value>
                   <real>[...]</real>
                </value>
        </criterionValue>
        [...]
    </criteriaValues>
    

standardDeviations

Description:

The desired standard deviations of the criteria of the generated performance table.

XMCDA related:

  • Tag: criteriaValues

  • Code:

    <criteriaValues>
       <criterionValue>
           <criterionID>[...]</criterionID>
               <value>
                   <real>[...]</real>
                </value>
        </criterionValue>
        [...]
    </criteriaValues>
    

seed

Description:

The seed for the random numbers generator (integer).

GUI information:

  • Name: seed

    The seed for the random numbers generator (integer).

    • Constraint description: An integer value.
    • Type: integer
    • Default value: 1
  • Name: number of alternatives to generate

    The number of alternatives to generate in the output performance table.

    • Constraint description: An integer value.
    • Type: integer
    • Default value: 2
  • Name: prefix for the alternatives ids

    The prefix for the ids of the generated alternatives.

    • Type: string
    • Default value: “x”

XMCDA related:

  • Tag: methodParameters

  • Code:

     <methodParameters>
         <parameter
              name="seed"> <!-- REQUIRED  -->
             <value>
                 <integer>%1</integer>
             </value>
         </parameter>
          <parameter
              name="numAlt"> <!-- REQUIRED  -->
             <value>
                 <integer>%2</integer>
             </value>
         </parameter>
         <parameter
              name="prefix"> <!-- REQUIRED  -->
             <value>
                 <label>%3</label>
             </value>
         </parameter>
    </methodParameters>
    

Outputs

alternatives

Description:

The ids of the generated alternatives.

XMCDA related:

  • Tag: alternatives

  • Code:

    <alternatives>
        <alternative id="..."/>
        [...]
    </alternatives>
    

performanceTable

Description:

The generated performance table.

XMCDA related:

  • Tag: performanceTable

messages

Description:

A list of messages generated by the algorithm.

XMCDA related:

  • Tag: methodMessages

For further technical details on the web service underlying this program, have a look at its documentation here.