diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2014-01-14 12:44:15 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2014-01-14 12:45:17 -0500 |
commit | 8c7cafb5a3ea21571df80d189da953a78727ec7c (patch) | |
tree | 600e7c87ef5505a47c9af9673363ab3e3c53ce84 /ecrts14/ecrts14.py | |
parent | 054d3d7b4a505f95641068b40c0ad280152fef0c (diff) |
ID graphs in generation and link nodes to graphs
Diffstat (limited to 'ecrts14/ecrts14.py')
-rwxr-xr-x | ecrts14/ecrts14.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ecrts14/ecrts14.py b/ecrts14/ecrts14.py index b0a381a..1be4001 100755 --- a/ecrts14/ecrts14.py +++ b/ecrts14/ecrts14.py | |||
@@ -218,6 +218,10 @@ def create_pgm_task_set(dp): | |||
218 | 218 | ||
219 | graphs.append(g) | 219 | graphs.append(g) |
220 | 220 | ||
221 | # tag each graph with an id | ||
222 | for i,g in enumerate(graphs): | ||
223 | g.id = i | ||
224 | |||
221 | return ts, graphs, subtasksets | 225 | return ts, graphs, subtasksets |
222 | 226 | ||
223 | def complete(results, n): | 227 | def complete(results, n): |