=======
Executables 
=======

CLI executables
----------------------

You chould call CLI executable from command prompt like:
./compute_potentials.exe -f data/flow_data/multigraph.dat
or 
./choice.exe -f data/choice_data/choice.2-3-5.cho --show-graph
or
./table.exe -f data/table_data/Trsek.txt --by-criteria

GUI executables
----------------------

You may click on the icon. If that doesn't work call it from
the command prompt.

=======
Config files
=======

Some executables have *.config files. They resides in working
directory. If you change the file configuration you should change
the [path] section accordingly.

===
Data
===
You may organize your data as you like but change the configuration
files accordingly.

==================
Prerequisites: R and RStudio
==================

All apps run without any additional software. R is an **optional**
bonus that enables graph visualization output (`.svg` and `.png`).
If R is not installed, all analysis results are still computed and
printed normally — only the graph drawing is skipped, with a clear
warning message.


Installation
----------------

Download and install R from: https://www.r-project.org/ or 
eventualy RStudio form https://posit.co/download/rstudio-desktop.

Then install the required R libraries:

**From RStudio (or equivalent):**
install.packages(c('dplyr', 'igraph', 'readr', 'stringr', 'RColorBrewer'))

**A suggestion:** Try to install one by one library if something went
wrong.




