-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
The JobShopGraph is moving from global node IDs to type-based ones (see #31).
Node
- Change
Nodeclass type hint fromintto a tuple of node type as a string and the local ID (tuple[str, int]). - Update documentation to reflect this change
JobShopGraph
Update node ID handling:
- Refactor
_next_node_idto be a dictionary pointing each node type to its next node id (dict[str, int]) - Update
add_nodemethod to reflect this new behaviour. - Do the same with
removed_nodesattribute andremove_nodemethod - Update documentation to reflect this change
Checks
- Refactor old tests in the graph module to account for this new behaviour. Tests related to the
SingleJobShopGraphEnvmay not pass, but that will be addressed in a separate issue. Also, ensure that the visualisation functionsplot_disjunctive_graphandplot_resource_task_graphdon't break.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request