Giter Site home page Giter Site logo

jameshennessytempus / busstopbloomfilter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsvan/busstopbloomfilter

0.0 0.0 0.0 24 KB

Navigating arbitrarily complex bus systems can be tricky, especially as bus listings and routes are listed in O(N) style wall-posters. Can we use finger printing ie bloom filters to make routing decisions O(1) for the passenger?

Python 100.00%

busstopbloomfilter's Introduction

BusStopBloomfilter

Proof of Concept:

Navigating arbitrarily complex bus systems can be tricky, especially as bus listings and routes are listed in O(N) style wall-posters. Can we use bloom filters to make routing decisions O(1) for the passenger?

Here is a short look on two problems:

  1. how can we visualize a bit array?
  2. how few bits can we get away with to avoid too many false positives?

My technique can visualize 192 bits, and achieve a < 0.5% false positive rate on my Deutsche Bahn system simulation.

Following is a video presentation of this idea which is the same information that is here just in video format, honestly you shouldn't even watch it unless you really like sitting through presentations:

https://www.youtube.com/watch?v=rGu2NkZPEzo

Population will expand and public transportation will become more complex. How can we rethink how we do public transportation signage to keep finding your bus (and/or your bus stop) independent of how many buses are arriving or how complex their routes are?

Example:

You will need to know the "fingerprint" of your destination. This is the fingerprint for Stendal Hbf (three bits of information).

image

Every bus stop's destination placard will show the accumulated fingerprints of all the buses coming through. This is the fingerprint of a matching stop. There is at least one bus passing through this stop which will also go to your destination. Notice the 'e', 'G', and 'g' all have their symbols present.

image

Here we have a bus/train coming. This is its fingerprint. Your destination fingerprint does not match, so you do not get on.

image

This bus coming is correct, your fingerprint matches. Get on!

image

Benefits are that

  • scaling your bus system does not lead to more complicated fingerprints
  • riders must not read signage in a given language or alphabet
  • very quick to see where you need to be and which bus you should board

busstopbloomfilter's People

Contributors

jsvan 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.