Install the following libraries if not yet installed.
sudo apt-get install cmake
sudo apt-get install gnuplot # required for sciplot
Execute the following line on the first time, to create the Makefile
.
This will fetch sciplot
, meaning there is no need for additional installations.
cd src/ && cmake .
Afterwards, to compile there is only need to execute this line.
cd src/ && make
cd bin/ && ./fcm <file-from-example-folder> <context-size> <alpha>
# example
./fcm example 2 2
cd bin/ && ./generator <file-from-example-folder> <context-size> <alpha> <prior>
# example
./generator example 2 2 aa