Skip to content

Releases: dariodenardi/Greedy-Algorithm-Project

Version 1.0 - Windows

13 Sep 14:42
Compare
Choose a tag to compare

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] where nameInstance is the name of instance and Q is a number (1, 2, 3, 4, 5 or 6)

Version 1.0 - Linux/MacOs

13 Sep 14:48
Compare
Choose a tag to compare

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] where nameInstance is the name of instance and Q is a number (1, 2, 3, 4, 5 or 6)