Skip to content

jaimearroyo7/airlingScheduling-MaxFlow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airling Scheduling problem [MAX-FLOW]

This project covers the 20% of the evaluation of the subject Algoritmia (FIB - UPC Q1-TARDOR).

Project structure:

  • Folders:
    • Benchmark: some sample input files. You can use any of them to do some tests.
    • fonts: the source code of the project.
    • results: with some test results.
  • AirShe.pdf: project statement
  • airSche-docu.pdf: our own documentation about the project.
  • Makefile: a Makefile to compile the project and run some test.
  • generate_results.sh: a file that runs airShe solver using all the files in the Benchmark folde. To run the script you migth a number [1 or 2] depending on the recheable version you want. It saves the results in the result folder.

Getting Started

git clone https://github.com/josue22almo/airlingScheduling-MaxFlow.git

Prerequisites

  • g++
  • git

Compiling

To compile the source code move to the fonts/ folder and do type make in the terminal. One executable will be created:

  • airSche

Running the tests

Type make test to run the teacher test with v1.

Makefile options

  • type: set the algorithm type of a test. [default = edmodnds]
  • version: set the recheable version of a test. [default = v1]

Usage

Usage: running a scheduling airline problem solver.
The correct usage is:

	  ./airSche vx max_flow_algorithm ?all  

where

  • vx is the reacheable version to run, x must be 1 or 2, depending on the reachable version.
  • max_flow_algorithm must be:
  • edmonds: run using Edmonds Karp, using BFS.
    • ford: run using Ford Fulkerson, using DFS.
  • all: is not mandatory, you have to set this param if you want to print all pilots rutes.

Makefile usage

Main commands:

  • make: generates the executable, airSche
  • make resultados: generates results using the generate_results.sh script
  • make test: runs airSche using the instances with problem of type 10.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.8%
  • Makefile 6.9%
  • Shell 1.3%