Code Monkey home page Code Monkey logo

snubusstopsimulation's Introduction

SNU Bus Stop Simulation

Simulation to propose the optimized shuttle bus waiting line based on pedestrians stress level using Processing and the autonomous agent that interpreting environments.

Demo

Demo(https://youtu.be/jh6ArPE7XMU)

What is the problem?

SNU students go their class by bus but due to its ambiguous waiting line and long average waiting time, they are struggling everyday morning. I want to solve this problem by using autonomous agent from "Nature of code" written by Daniel Shiffman.

Autonomous agent?

The term autonomous agent generally refers to an entity that makes its own choices about how to act in its environment without any influence from a leader or global plan. — Nature of code, Daniel Shiffman

From above, I implemented human-like perspective(fov), attractor(bus stop) and environment factor which acts as key role — stress level. Stress level and cases are like below.

  • Physical contacts with others on a way to bus stop: 9.8
  • Realizing confused with their bus waiting line: 8.9
  • Annoying with one's own way to road(not bus stop): 11.2
  • Too close to other lines: 6.8
  • Confused with which line should I choose: 8.3

How to implement?

Basically, I implemented from this but especially there were 2 issues.

  • Group behavior: solved by "Nature of code"
  • Lining: Use our own algorithm
  • Environment variables

To solve second issue, we assume three things like below.

  1. Every person intends to take own bus knows their bus stop position almost precisely.
  2. People are capable to figure out the shape of lines and choose one of them.
  3. The shape of lines can be distorted only with the condition that every person can move as little as much they can. Also, after someone went in line, condition (2) should be guaranteed.

How to execute

Install processing and launch this repository with directory name "SNUSimulation.pde".

Built With

Authors

  • Hyuntak Cha - Maintainer - website
  • Seungyoun Lee - Co-developer - sylee421

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

snubusstopsimulation's People

Contributors

chaht01 avatar sylee421 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

tubbz-alt

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.