Package jline.api.wkflow
Object Wkflow_parallel_detector
-
- All Implemented Interfaces:
public class Wkflow_parallel_detector
Automatic parallel structure detector for workflow networks.
This detector identifies parallel execution patterns in workflow networks where multiple service nodes execute concurrently between fork and join points.
Based on AUTO_Parallel_Detector.m from the MDN toolbox.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Wkflow_parallel_detector
INSTANCE
-
Method Summary
Modifier and Type Method Description final static List<List<Integer>>
detectParallel(Matrix linkMatrix, List<Integer> serviceNodes, List<Integer> forkNodes, List<Integer> joinNodes)
Detect parallel patterns in a workflow network. final static Boolean
validateParallelPattern(List<Integer> pattern, Matrix linkMatrix, List<Integer> forkNodes, List<Integer> joinNodes)
Validate parallel pattern structure. final static Map<String, Object>
getParallelStats(List<List<Integer>> patterns)
Get parallel pattern statistics. -
-
Method Detail
-
detectParallel
final static List<List<Integer>> detectParallel(Matrix linkMatrix, List<Integer> serviceNodes, List<Integer> forkNodes, List<Integer> joinNodes)
Detect parallel patterns in a workflow network.
- Parameters:
linkMatrix
- Matrix containing workflow link information: - Column 1: start node IDs - Column 2: end node IDs - Column 3: transition probabilitiesserviceNodes
- List of service node IDsforkNodes
- List of fork node IDsjoinNodes
- List of join node IDs- Returns:
List of parallel patterns, where each pattern is a list of parallel service nodes
-
validateParallelPattern
final static Boolean validateParallelPattern(List<Integer> pattern, Matrix linkMatrix, List<Integer> forkNodes, List<Integer> joinNodes)
Validate parallel pattern structure.
-
-
-
-