forked from brandenburg/np-schedulability-analysis
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to reading input files from one single yaml file (#15)
* Minor change * add yaml-cpp to the project * first test of reading from Yaml file. * change parse_file function name * add yaml and update version * add yaml-cpp as a submodule * add fig1a.csv and fig1a.prec.csv into one yaml file * add reading job set and precedence constraints from a single yaml file * changing the name of the function for reading inputs * add yaml version of global-fig1.csv * add manually specifying the path of yaml-cpp * Bug fixes * Bug fixes * Bug fixes in compiling the code with parallel run flag. * Bug fixes and add reading successors with expanded form from Yaml file. * Add an example with expanded form * Minor bug fixes * Adding condition for using already installed yaml-cpp as a library instead of building it. * adding a note for pulling yaml-cpp * minor change * Cleaning up
- Loading branch information
1 parent
fa08e70
commit cac976f
Showing
13 changed files
with
284 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "lib/yaml-cpp"] | ||
path = lib/yaml-cpp | ||
url = https://github.com/jbeder/yaml-cpp.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
jobset: | ||
- Task ID: 1 | ||
Job ID: 1 | ||
Arrival min: 0 | ||
Arrival max: 0 | ||
Cost min: 1 | ||
Cost max: 2 | ||
Deadline: 10 | ||
Priority: 10 | ||
Successors: [[1,2]] | ||
- Task ID: 1 | ||
Job ID: 2 | ||
Arrival min: 10 | ||
Arrival max: 10 | ||
Cost min: 1 | ||
Cost max: 2 | ||
Deadline: 20 | ||
Priority: 20 | ||
Successors: | ||
- Task ID: 1 | ||
Job ID: 3 | ||
- Task ID: 3 | ||
Job ID: 9 | ||
- Task ID: 1 | ||
Job ID: 3 | ||
Arrival min: 20 | ||
Arrival max: 20 | ||
Cost min: 1 | ||
Cost max: 2 | ||
Deadline: 30 | ||
Priority: 30 | ||
Successors: [[1,4]] | ||
- Task ID: 1 | ||
Job ID: 4 | ||
Arrival min: 30 | ||
Arrival max: 30 | ||
Cost min: 1 | ||
Cost max: 2 | ||
Deadline: 40 | ||
Priority: 40 | ||
Successors: [[1,5]] | ||
- Task ID: 1 | ||
Job ID: 5 | ||
Arrival min: 40 | ||
Arrival max: 40 | ||
Cost min: 1 | ||
Cost max: 2 | ||
Deadline: 50 | ||
Priority: 50 | ||
Successors: [[1,6]] | ||
- Task ID: 1 | ||
Job ID: 6 | ||
Arrival min: 50 | ||
Arrival max: 50 | ||
Cost min: 1 | ||
Cost max: 2 | ||
Deadline: 60 | ||
Priority: 60 | ||
- Task ID: 2 | ||
Job ID: 7 | ||
Arrival min: 0 | ||
Arrival max: 0 | ||
Cost min: 7 | ||
Cost max: 8 | ||
Deadline: 30 | ||
Priority: 30 | ||
Successors: [[2,8]] | ||
- Task ID: 2 | ||
Job ID: 8 | ||
Arrival min: 30 | ||
Arrival max: 30 | ||
Cost min: 7 | ||
Cost max: 7 | ||
Deadline: 60 | ||
Priority: 60 | ||
- Task ID: 3 | ||
Job ID: 9 | ||
Arrival min: 0 | ||
Arrival max: 0 | ||
Cost min: 3 | ||
Cost max: 13 | ||
Deadline: 60 | ||
Priority: 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
jobset: | ||
- Task ID: 1 | ||
Job ID: 1 | ||
Arrival min: 0 | ||
Arrival max: 0 | ||
Cost min: 2 | ||
Cost max: 4 | ||
Deadline: 7 | ||
Priority: 1 | ||
- Task ID: 2 | ||
Job ID: 1 | ||
Arrival min: 0 | ||
Arrival max: 0 | ||
Cost min: 10 | ||
Cost max: 15 | ||
Deadline: 20 | ||
Priority: 2 | ||
- Task ID: 3 | ||
Job ID: 1 | ||
Arrival min: 5 | ||
Arrival max: 5 | ||
Cost min: 1 | ||
Cost max: 7 | ||
Deadline: 15 | ||
Priority: 3 | ||
- Task ID: 4 | ||
Job ID: 1 | ||
Arrival min: 8 | ||
Arrival max: 8 | ||
Cost min: 2 | ||
Cost max: 3 | ||
Deadline: 20 | ||
Priority: 4 | ||
- Task ID: 5 | ||
Job ID: 1 | ||
Arrival min: 8 | ||
Arrival max: 8 | ||
Cost min: 1 | ||
Cost max: 1 | ||
Deadline: 14 | ||
Priority: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.