Package jline.api.wkflow
Object Wkflow_pattern_updater
-
- All Implemented Interfaces:
public class Wkflow_pattern_updaterWorkflow pattern updater for simplifying and optimizing workflow networks.
This class is responsible for updating workflow networks after recognizing basic workflow patterns (sequence, parallel, loop, branch) by combining pattern detection with phase-type distribution convolution.
Based on AUTO_Pattern_Update.m from the MDN toolbox.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWkflow_pattern_updater.ServiceParametersData class to represent service parameters (phase-type distributions).
public final classWkflow_pattern_updater.UpdatedWorkflowData class to represent the updated workflow.
-
Field Summary
Fields Modifier and Type Field Description public final static Wkflow_pattern_updaterINSTANCE
-
Method Summary
Modifier and Type Method Description final static Wkflow_pattern_updater.UpdatedWorkflowupdatePatterns(Matrix linkMatrix, List<Integer> serviceNodes, List<Integer> forkNodes, List<Integer> joinNodes, List<Integer> routerNodes, Map<Integer, Wkflow_pattern_updater.ServiceParameters> serviceParams)Update workflow network by simplifying detected patterns. final static BooleanvalidateUpdatedWorkflow(Wkflow_pattern_updater.UpdatedWorkflow workflow)Validate the updated workflow structure. final static Map<String, Object>getUpdateStats(Matrix originalMatrix, Wkflow_pattern_updater.UpdatedWorkflow updatedWorkflow)Get statistics about the pattern update process. -
-
Method Detail
-
updatePatterns
final static Wkflow_pattern_updater.UpdatedWorkflow updatePatterns(Matrix linkMatrix, List<Integer> serviceNodes, List<Integer> forkNodes, List<Integer> joinNodes, List<Integer> routerNodes, Map<Integer, Wkflow_pattern_updater.ServiceParameters> serviceParams)
Update workflow network by simplifying detected patterns.
- Parameters:
linkMatrix- Original workflow link matrixserviceNodes- List of service node IDsforkNodes- List of fork node IDsjoinNodes- List of join node IDsrouterNodes- List of router node IDsserviceParams- Original service parameters (PH distributions)- Returns:
Updated workflow with simplified patterns
-
validateUpdatedWorkflow
final static Boolean validateUpdatedWorkflow(Wkflow_pattern_updater.UpdatedWorkflow workflow)
Validate the updated workflow structure.
-
getUpdateStats
final static Map<String, Object> getUpdateStats(Matrix originalMatrix, Wkflow_pattern_updater.UpdatedWorkflow updatedWorkflow)
Get statistics about the pattern update process.
-
-
-
-