You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
Resources | 3 years ago | |
.gitignore | 3 years ago | |
Display.cpp | 3 years ago | |
Display.h | 3 years ago | |
LICENSE | 3 years ago | |
Line.h | 3 years ago | |
Makefile | 3 years ago | |
NumberGenerator.h | 3 years ago | |
Point.h | 3 years ago | |
Quickhull.h | 3 years ago | |
README.md | 3 years ago | |
Triangle.h | 3 years ago | |
Utility.h | 3 years ago | |
alg_prog2.pdf | 3 years ago | |
main.cpp | 3 years ago | |
performance.cpp | 3 years ago |
README.md
quickhull
dependencies
for the visual graphic display SFML is needed (https://www.sfml-dev.org/download/sfml/2.5.1/) if you want to compile the program on your own, the deployed release uses static linkage.
program arguments
-v mode with enabled visualization
--akl using Akl-Toussaint heuristic beforehand
https://en.wikipedia.org/wiki/Convex_hull_algorithms#Akl%E2%8
-f <filename> read random numbers from file
--rngcount <count> generates count random float values
--rngmode <mode> if generating float values this specifies the mode:
1. random numbers in screen range
2. numbers are ordered as rectangle
3. numbers are ordered as circle around screen center
--runs <count> runs performance mode multiple times
--stepsize <size> time between autosteps; if 0 or not provided -> manual steps