https://github.com/peter-lyons-kehl/critical-path-rs
Parse tasks. Find the critical path(s).
https://github.com/peter-lyons-kehl/critical-path-rs
Last synced: 7 months ago
JSON representation
Parse tasks. Find the critical path(s).
- Host: GitHub
- URL: https://github.com/peter-lyons-kehl/critical-path-rs
- Owner: peter-lyons-kehl
- License: mit
- Created: 2022-07-04T19:09:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T22:18:59.000Z (about 3 years ago)
- Last Synced: 2025-01-16T02:35:18.005Z (9 months ago)
- Language: Rust
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A standalone shell application. It reads a file, and parses it as a list of task names, durations and dependencies (other tasks from the same file). If there is an error in the input, this reports the line and column. If the input is valid, this calculates the total duration, it prints the critical path (any one if there are multiple), and the maximum number of tasks that could be run in parallel.
The tasks in the input are guaranteed not to be cyclic.
Invoke it with the input file's path. On Unix systems you can use the `./schedule-tasks` symlink, for example `./schedule-tasks test/basic.in`.
See [src/test/](src/test/) and [test/](test/) for more.
Would you like to use it with standard input instead (for example, to pipe an output of another command to it)? Then (on Unix systems) invoke it as `./schedule-tasks /dev/stdin`.