﻿===================================================================
 The web service « UTA-ITTB »
===================================================================

How to run the java program in command line?
============================================

::

  java –Djava.awt.headless=true -jar UTA-ITTB.jar methodParameters.xml alternatives.xml alternativesRanks.xml criteria.xml performanceTable.xml criteriaSegments.xml valueFunctions.xml messages.xml

where:

- The first entry file corresponds to ``methodParameters.xml``. It contains only one parameter in order to implement or not a post-optimality analysis. It can be provided by the Decision Maker or generated in Diviz.
- The second entry file corresponds to ``alternatives.xml``
- The third entry file corresponds to ``alternativesRanks.xml``
- The fourth entry file corresponds to ``criteria.xml``
- The fifth entry file corresponds to ``performanceTable.xml``
- The sixth and last entry file corresponds to ``criteriaSegments.xml``

- The first output file corresponds to the ``valueFunctions.xml`` file and contains the constructed value functions for the selected criteria.
- The second and last output file corresponds to the ``messages.xml`` file. It is a list of messages generated by the algorithm. It contains information about the execution status as well as a warnings and errors when they occur.

How to run the tests?
=====================

The file ``methodParameters.xml`` can be generated in Diviz. You have to put the other entry files in the correct order.
