GithubHelp home page GithubHelp logo

mohammad6006 / runway-model-toomanybananas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from salesforce/runway-model-toomanybananas

0.0 1.0 0.0 107 KB

Too Many Bananas model for use in Runway

Home Page: https://runway.systems/?model=github.com/salesforce/runway-model-toomanybananas

License: MIT License

JavaScript 100.00%

runway-model-toomanybananas's Introduction

Too Many Bananas model for Runway

screenshot

try this model in Runway

Too Many Bananas is a simple concurrency problem:

  1. You run out of bananas, so you go to the store.
  2. Your roommate sees that you're out of bananas, so they go to the store.
  3. You both get back from the store. Now you have too many bananas.

Too many bananas is a cause for alarm, since bananas go bad over time, and you wouldn't want to waste any. The requirement, for the purpose of this model, is that you should never have more than 8 bananas at home.

This code meant to be used in Runway, a tool for simulating and visualizing concurrent and distributed system models.

The Too Many Bananas problem is based on the Too Much Milk problem, which was originally devised by Michael L. Powell. Mike encountered the Too Much Milk problem in real life while he was a grad student at Stanford. Milk, however, poses complications for modeling: how much milk does one drink at a time? The Too Many Bananas problem is simpler to model, as bananas naturally come in discrete units.

runway-model-toomanybananas's People

Contributors

ongardie avatar mohammad6006 avatar

Watchers

 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.