Giter VIP home page Giter VIP logo

feup-aed-proj2's Introduction

feup-aed-proj2

Algorithms and Data Structures Project

This repository holds the files submitted for the 2nd AED project.


Project group 13:

Project grade: 20/20

Proposed problem

The problem proposed for this project was for us to build a tool to aid in the choice of route between 2 locations on a bus network (based on real data), using for that a graph data structure. The project specification got deeper in explaining the intended features to implement (defining "locations" as a network node/coordinate pair, various definitions of "best-route", etc...). Of those, the only one that was not achieved was the "best route using the least bus line changes".

This is due to the fact that the dataset given to us, being processed "as is" (just like we did), creates a multi-graph, which in turn makes it impossible to discover the "best route using the least bus line changes", since this would require analysis of every outwards edge on every node along the path between the 2 chosen points, which would not only waste a lot of memory but is also absurdly time-consuming. A solution to this problem is not to store each "real-world" node as a graph node but every "node/edge-identifier" pair as the node. This way one would lose the multi-graph, allowing to more efficiently traverse the desired nodes.

Despite this, we have implemented features that were marked as "extra credits".

Disclaimer

This repository (and all others with the name format feup-*) are for archival and educational purposes only.

If you don't understand some part of the code or anything else in this repo, feel free to ask (although I may not understand it myself anymore).

Keep in mind that this repo is public. If you copy any code and use it in your school projects you may be flagged for plagiarism by automated tools.

feup-aed-proj2's People

Contributors

cavaleiro132 avatar naapperas avatar pedronunes19 avatar

Watchers

 avatar

Forkers

pedronunes19

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.