Skip to content

Commit

Permalink
modify the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
linkpark1904 committed Sep 14, 2020
1 parent 0b12de2 commit 313f0ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions env/mec_offloaing_envs/offloading_task_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ class OffloadingTaskGraph(object):
Args:
file_name: the raw file of the task graph
"""
def __init__(self, file_name, is_matrix=False):
self._parse_from_dot(file_name, is_matrix)
def __init__(self, file_name):
self._parse_from_dot(file_name)

# add task list to
def _parse_from_dot(self, file_name, is_matrix):
parser = OffloadingDotParser(file_name, is_matrix)
def _parse_from_dot(self, file_name):
parser = OffloadingDotParser(file_name)
task_list = parser.generate_task_list()

self.task_number = len(task_list)
Expand Down

0 comments on commit 313f0ed

Please sign in to comment.