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

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

java –Djava.awt.headless =true -jar plotAlternativesAssignments-ITTB.jar options.xml alternatives.xml categories.xml alternativesAssignments.xml alternativesAssignmentsPlot.xml messages.xml 
where:

- The first entry file corresponds to ``options.xml``. You can enter a title for the plot. Colors can be used. 
You can specify how to display the categories: by line, by column or in a grid. 
The shape of the categories can be rectangle, diamond or oval. 
The categories can also be ordered: in the alphabetical order or its inverse or in the categories order when the file categories.xml is supplied. 
-  The entry files `` alternatives.xml ``, `` categories.xml `` and `` alternativesAssignments.xml `` are placed in this order. 
NB: the entry file ``categories.xml `` is optional.
- The first output file corresponds to the `` alternativesAssignmentsPlot.xml`` file and contains the generated plot. 
- The second 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 `` options.xml`` can be generated in Diviz or provided by the decision maker. You have to put the entry files `` alternatives.xml ``, `` categories.xml`` and `` alternativesAssignments.xml `` in the correct order.
