Giter Site home page Giter Site logo

kiwikern / routrill Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 348 KB

Routrill implements the traveling salesperson problem. It was implemented for a competition hosted by it-talents.de

Home Page: https://tsp.kimkern.de

License: Other

TypeScript 82.06% JavaScript 2.34% HTML 11.28% CSS 4.33%
maps tsp-problem competitive-programming-contests

routrill's Introduction

Routrill

This project was implemented for the IT Talents Code Competition.

Try it out

  • Clone the git repository.
  • Run npm install.
  • Run npm start.
  • Navigate to http://localhost:4200/.

Alternatively checkout the project's website

Also try it on your mobile device or the developer tool's mobile view in your desktop browser.

Run tests

  • Unittests: npm test
  • Webtests: npm start, then npm run e2e-dev

Project structure

The application code can be found under src/app and includes four submodules.

app

The app module includes the root bootstrapping, navigation and the home / about pages.

maps

The maps module includes the components for viewing end editing the destinations, as well as the component for viewing the four different routes. The services encapsulate the used Google Maps APIs as well as the interface for the communication with the route-algorithm web workers.

route-algorithms

This part is separate from the Angular application. It includes four web workers that calculate the different routes using different algorithms. Web workers are used for multi threading so that the UI thread is not blocked while the routes are computed. Especially the brute force algorithm can take a while with 10 destinations as input.

util

The util module includes layout components and reexports used UI libraries to make them available in any other part of the application.

routrill's People

Contributors

angular-cli avatar kiwikern avatar

Watchers

 avatar  avatar

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.