GithubHelp home page GithubHelp logo

asap-and-alap's Introduction

ASAP-and-ALAP for DAG

Get priority for one directed acyclic graphs(DAG) by appling ASAP or ALAP Scheduling Algorithm.

DependenciesUsageFeaturesLimitations

📦 Required Packages

Assuming that Python3 is installed in the targeted machine, to install the required packages:

pip install networkx

⚙️ Usage

Task generator:

The options of the ASAP-and-ALAP are as follows (python3 asap_alap.py -h):

usage: asap_alap.py [-h] [-s | -l] DAGfile

Compute the priority for one directed acyclic graphs(DAG) by using ASAP or ALAP Scheduling Algorithm. (To test the program you can run the demo DAG file by 'python3 asap_alap.py -s ./DAG_example/Tasks_1_Run_0.csv')

positional arguments:
  DAGfile     The DAG file path

optional arguments:
  -h, --help  show this help message and exit
  -s, --ASAP  Run ASAP scheduling algorithm
  -l, --ALAP  Run ALAP scheduling algorithm

To test the tool and run the asap with:

$ python3 asap_alap.py -s ./DAG\ example/Tasks_1_Run_0.csv'

DAG file format

The format infromation is in DAG example file. It helps you construct your DAG file.

🚧 Limitations

  • Software is not fully tested
  • There is no function to write priority back to the Tasks_1_Run_*.csv for the time being

🌱 Contribution

Feedback contributions are welcome

  • Open pull request with improvements
  • Discuss feedbacks and bugs in issues

asap-and-alap's People

Contributors

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