Giter Site home page Giter Site logo

bymayanksingh / metroworks Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 5.0 7.29 MB

๐Ÿš„ an application meant for linux users, It helps you find & visualize the Shortest Path between Delhi Metro Stations, it uses Graph Data Structure & Dijkstra's Algorithm.

Home Page: https://code-monk08.github.io/metroworks/

License: MIT License

C++ 100.00%
stl cpp11 fim graphviz-dot-language delhi metro dijkstra-shortest-path graph notify-send zenity

metroworks's Introduction

Open Issues Forks Stars Maintained Made with Python Open Source Love Built with Love Follow Me Telegram

๐Ÿ“’ Index

๐Ÿ”ฐ About

Metroworks in an application meant for linux users, It helps you find & visualize the Shortest Path between Delhi Metro Stations, it uses Graph Data Structure & Dijkstra's Algorithm.

โšก Usage

To use this project.

๐Ÿ”Œ Installation

  • Install dependencies & export environment variables.
$ sudo apt-get install graphviz 
$ sudo apt-get install fim
$ sudo apt-get install zenity
$ sudo apt-get install sl
$ sudo apt-get install notify-osd 

๐Ÿ“ฆ Tools

๐Ÿ”Œ Commands

  • Start project using
$ g++ -std=c++11 metroworks.cpp -o metroworks
$ ./metroworks

๐Ÿ“ File Structure

  • Add a file structure here with the basic details about files, below is an example.
.
โ”œโ”€โ”€ _config.yml
โ”œโ”€โ”€ data.txt
โ”œโ”€โ”€ fare.csv
โ”œโ”€โ”€ Fare data
โ”‚ย ย  โ””โ”€โ”€ Fare Matrix Delhi Metro.xlsx
โ”œโ”€โ”€ finalmap.dot
โ”œโ”€โ”€ graph.png
โ”œโ”€โ”€ graphvizdotfiles
โ”‚ย ย  โ”œโ”€โ”€ graph.png
โ”‚ย ย  โ”œโ”€โ”€ MyGraph
โ”‚ย ย  โ”œโ”€โ”€ path.png
โ”‚ย ย  โ””โ”€โ”€ StationId
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ maps
โ”‚ย ย  โ”œโ”€โ”€ Delhi Metro System Map.svg
โ”‚ย ย  โ”œโ”€โ”€ graph.svg
โ”‚ย ย  โ”œโ”€โ”€ id.svg
โ”‚ย ย  โ””โ”€โ”€ this graph test signature shape from graphviz.svg
โ”œโ”€โ”€ metroworks.cpp
โ”œโ”€โ”€ path.png
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ Report & Screenshots
โ”‚ย ย  โ”œโ”€โ”€ DS_MetroWork_Project.pdf
โ”‚ย ย  โ”œโ”€โ”€ Screenshot from 2018-11-27 03-53-27.png
โ”‚ย ย  โ”œโ”€โ”€ Screenshot from 2018-11-27 03-53-32.png
โ”‚ย ย  โ””โ”€โ”€ Screenshot from 2018-11-27 03-57-26.png
โ”œโ”€โ”€ stations.txt
โ”œโ”€โ”€ train1.png
โ””โ”€โ”€ train.png

4 directories, 25 files

๐Ÿ“„ Resources

๐Ÿ“ท Gallery

Current Delhi Metro Stations (In our Program)

๐ŸŒŸ Credit/Acknowledgment

Contributors

๐Ÿ”’ License

License

metroworks's People

Contributors

araushan avatar bymayanksingh avatar nightwarriorftw avatar sidntrivedi012 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

metroworks's Issues

Propose new features.

Having implemented the main version of the project, we will try to implement extra features proposed here and approved by all the group members. This thread has been made in order to discuss new features.

Extending the project

Extending the project to more distros than just Ubuntu ,should I put the dependencies required for the project to run in a debian machine
Regards,
@nightwarrior-xxx

Current Requirements

Coding Part Done :

  • Window for entering the source and destination stations.

  • Show the Shortest Path between source & destination Metro Stations accordingly.

  • Modify the output accordingly, so that output produces a GraphViz dotfile of all the stations in between the source and destination, both included.

  • Also compute Total Fare based on fare matrix given on DMRC website.

  • Run Terminal Commands using system():

    • Opens Graph PNG
    • Takes Input of Source & Destination Station in Terminal Console
    • Opens the newly made PNG file, with the thickened path.

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.