Giter Site home page Giter Site logo

anenriquez / dream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from heatlab/dream

0.0 1.0 0.0 196 KB

DREAM: An Algorithm for Mitigating the Overhead of Robust Rescheduling

Home Page: http://heatlab.org

License: MIT License

Shell 4.84% Python 95.16%

dream's Introduction

DREAM

Also known as the new version of the "RobotBrunch" codebase from HEATlab.

This code is closely tied to the paper:

Abrahams et al. 2019. DREAM: An Algorithm for Mitigating the Overhead of Robust Rescheduling. In Proc. of the 29th International Conference on Automated Planning and Scheduling (ICAPS-2019). A pre-print is available here.

Usage and Set Up

Requirements (python packages) to run are listed in requirements.txt.

These can be installed via your standard python3 pip method of pip install -r requirements.txt.

Newer versions may be used, but these versions have been selected to work on HMC's shared server, Knuth.

How to Run the Simulator

Usage

usage: run_simulator.py [-h] [-v] [-t THREADS] [-s SAMPLES] [-e EXECUTION]
                        [-o OUTPUT] [--ar-threshold AR_THRESHOLD]
                        [--si-threshold SI_THRESHOLD] [--mit-parse]
                        [--seed SEED] [--ordering-pairs ORDERING_PAIRS]
                        [--start-point START_POINT] [--stop-point STOP_POINT]
                        [--no-live]
                        stns [stns ...]

You may always use the --help option to get a full print out of every option.

How to use DREAM on an PSTN:

$ python3 run_simulator.py -e arsi -s 100 test_data/two_agent_sync.json

The -e option sets the execution strategy, and the -s sets the number of samples to simulate.

Documentation

To generate Sphinx autodoc documentation:

  1. Go to docs
  2. Run make html.
  3. Open the index now generated at docs/build/html/index.html using your favourite web browser.

Docstrings follow Google Docstring Style, and we use the Sphinx Napolean add-on to convert between Google style to RST for Sphinx.

Project Notes

Check out the IDEAS.md file to see what we (as a lab) have tried.

Unit Tests

This project supports the unit test module. To run the tests in this project, use the following shell command.

$ cd <project_dir>
$ python3 -m unittest  # Auto searches for unit tests in <project_dir>/tests

PuLP may give a warning. You can implement Jordan's fix here in PuLP itself to remove it.

Credit

This code is copyright of Harvey Mudd College's HEATlab.

Rewrite Started by: Jordan R. Abrahams (HMC '19)

Original Written by:

  • Jeb Brooks
  • Emilia Reed
  • Alexander Gruver
  • Sam Dietrich
  • Kyle Lund
  • Scott Chow
  • Jordan R. Abrahams
  • Brenner Ryan
  • David A. Chu
  • Grace Diehl
  • Marina Knittel
  • Judy Lin
  • Liam Lloyd
  • James C. Boerkoel Jr.

Please contact Jordan R. Abrahams if you have any questions about the internals of the code, documentation, or any of the results gathered.

dream's People

Contributors

boerkoel avatar crystalsplitter avatar jordanhmc 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.