Git Product home page Git Product logo

convex-hull-algorithms's Introduction

Convex-Hulls

The three algorithms compared are The Giftwrap algorithm, The Graham-Scan algorithm and The Monotone Chain algorihtm. These algorithms are compared over a wide range of data sets using pre writen tests. The algorithms were written as an assigment for COSC262-18 at the University of Canterbury.

Usage

Running Algorithms

To run each algorithm individually uncomment the line corresponding to the chosen algorithm and select the chosen
data file then run the file. Lines to uncomment to run the algorithms can be found a the bottom of the convexhull.py file.

Running Acceptance Tests

To run the acceptance tests uncomment the line tests.output_tests(), line 225 of convexhulls.py.

Running Average Time Tests

To run average time tests uncomment the line tests.average_tests(1, True) line 229 of convexhulls.py and/or
the line tests.average_tests(1, False) line 233 of convexhulls.py.

Creating Graphs

To make graphs of the algorithms performance uncomment any of the following lines of convexhulls.py 189, 193, 197, 201, 205, 211, 217. Graphs are made using average times gathered by running each algorithm 200 times over all
data files and taking the average time from each data file.

convex-hull-algorithms's People

Contributors

ambroseled avatar

Forkers

claytonchagas

convex-hull-algorithms's Issues

Dependabot couldn't find a requirements.txt for this project

Dependabot couldn't find a requirements.txt for this project.

Dependabot requires a requirements.txt to evaluate your project's current Python dependencies. It had expected to find one at the path: /requirements.txt.

If this isn't a Python project, or if it is a library, you may wish to disable updates for it from within Dependabot.

You can mention @dependabot in the comments below to contact the Dependabot team.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.