Giter Site home page Giter Site logo

route-mapper's Introduction

OC Transpo network in social network theory

To run the application, open the directory with this project and run python main.py

NOTE:

  • You must have python installed to run
  • Once you run it will save the graphs in the graphs directory
  • for line graphs, it will be saved under graphs/line
  • for the other graphs they will be saved under graphs/[insert bus name]

Libraries used:

  • matplotlib.pyplot
  • networkx
  • random
  • json
  • pandas
  • datetime
  • uuid
  • math
  • pyvis

route-mapper's People

Contributors

bormar08 avatar owen-allen avatar shibbler avatar

Watchers

 avatar

route-mapper's Issues

graphs to create

  • Nash Equilibrium for each company priority
  • shortest path (Nash Equilibrium) effect on passengers
  • shortest path (Nash Equilibrium) effect on profit
  • shortest path (Nash Equilibrium) effect on bus capacity (are busses full) (goes hand-in-hand with passenger effect)
  • shortest path (Nash Equilibrium) effect on travel cost
  • road network (display nodes and passengers at nodes)
  • potentially display bus routes?

company priorities:

  1. company priority of passengers: we try to get all passengers in the network (maybe we add busses if we need to)
  2. company priority of profit: get the most passengers in the network using the least amount of busses (i.e pick up most passengers at each stop then take the shortest path to the next node)
  3. company priority of travel cost (speed): pickup passengers and reach the destinations the fastest (i.e pick up passengers going closest to final destination at each node it stops at)

for each company priority we need to generate a graph that shows how:

  1. travel cost was affected
  2. passenger/bus capacity was affected
  3. how profit was affected

Create Nash Equilibrium for each Company Priority

Create variation for each priority of the company in charge of busses

company priority of passengers: we try to get all passengers in the network (maybe we add busses if we need to)
company priority of profit: get the most passengers in the network using the least amount of busses (i.e pick up most passengers at each stop then take the shortest path to the next node)
company priority of travel cost (speed): pickup passengers and reach the destinations the fastest (i.e pick up passengers going closest to final destination at each node it stops at)

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.