diff --git a/b_asic/resources.py b/b_asic/resources.py index fa7c351fe28b3350c4f97d414d71a52f3896117d..209c6b7966aadc81bb6b618f991dd90ad84f5f43 100644 --- a/b_asic/resources.py +++ b/b_asic/resources.py @@ -848,7 +848,7 @@ class ProcessCollection: def split_on_execution_time( self, - heuristic: str = "graph_color", + heuristic: str = "left_edge", coloring_strategy: str = "saturation_largest_first", ) -> List["ProcessCollection"]: """ diff --git a/test/test_resources.py b/test/test_resources.py index 8925f6e656016becab626bb35ebfdd614f27e254..e58f1b0a17b81e7a70e50c3004de719f7c57e2f2 100644 --- a/test/test_resources.py +++ b/test/test_resources.py @@ -77,7 +77,7 @@ class TestProcessCollectionPlainMemoryVariable: collection = generate_matrix_transposer(4, min_lifetime=5) assignment_left_edge = collection._left_edge_assignment() assignment_graph_color = collection.split_on_execution_time( - coloring_strategy='saturation_largest_first' + heuristic="graph_color", coloring_strategy='saturation_largest_first' ) assert len(assignment_left_edge) == 18 assert len(assignment_graph_color) == 16