Releases: dariodenardi/Greedy-Algorithm-Project
Releases · dariodenardi/Greedy-Algorithm-Project
Version 1.0 - Windows
Requirements
First, you must generate instaces with my other program. See my project
Run the program
- Open cmd
- Go to
GreedyAlgorithm
folder - Run .exe from cmd. There are two parameters:
[nameInstance] [Q]
wherenameInstance
is the name of instance andQ
is a number (1, 2, 3, 4, 5 or 6)
Version 1.0 - Linux/MacOs
Requirements
- First, you must generate instaces with my other program. See my project
- CMake must be installed on linux distribution. Read Tutorial
- You also need a modern version of GCC, that supports at least C++11
Run the program
- Open terminal
- Move to the new directory:
cd Greedy
- Create a build directory:
mkdir build
- Move to the build directory:
cd build
- Run cmake:
cmake ..
- Run make:
make
- Run the executable that you find into
Greedy/build/build/bin
:./GreedyAlgorithm [nameInstance] [Q]
wherenameInstance
is the name of instance andQ
is a number (1, 2, 3, 4, 5 or 6)