Skip to content

Maria-Sparrow/algorithm-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

algorithm-lab

  1. clone my repository: (if you are working with a console)
https://github.com/Maria-Sparrow/algorithm-lab.git
  • or download and extract it;
  1. open command prompt and switch the directory to /algorithm-lab:
cd algorithm-lab
  • if you decided to download and extract it to, let us say, D:/projects, you would do it like that:
D:
cd projects/algorithm-lab
  1. if you do not have Phyton 3+ installed, you must use the console:
python main.py

this program shows you the results of insertion and merge sorts for each algorithm, it also shows some additional information, such as:

  • time,
  • swap counter,
  • comparison counter.

counters represent the numbers of corresponding operations that occurred during the sorting process.

the list of objects is taken from basin.csv file. Each row there represents a new object as a sequence of its properties' values separated by commas. The order is:

address, volume_of_water, max_number_of_visitors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published