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

Before running the java program in command line:
================================================

You need to install GraphViz.
In particular, the executable file dot.exe is required

How to run the java program in command line?
============================================
::
java –Djava.awt.headless =true -jar advancedPlotAlternativesValuesPreorder-ITTB.jar options.xml alternatives.xml alternativesValues.xml alternativesValuesPlot.xml messages.xml
where:

- The first entry file corresponds to ``options.xml``. There are many options to take into account: (graph title, increasing or decreasing order, nodes shape, display alternatives' names or IDs, colors) 
- The second entry file corresponds to ``alternatives.xml``
-  The third entry file corresponds to `` alternativesValues.xml``
- The first output file corresponds to the `` alternativesValuesPlot.xml`` file and contains the graph when it is generated. 
- 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`` will be generated in Diviz. You have to choose the proposed options and put the entry files `` alternatives.xml`` and `` alternativesValues.xml`` in the correct order.
