Package jline.api.wkflow
Object Wkflow_sequence_detector
-
- All Implemented Interfaces:
public class Wkflow_sequence_detectorAutomatic sequence structure detector for workflow networks.
This detector can automatically identify basic sequence structures in a workflow network, where service nodes are connected sequentially.
Based on AUTO_Sequence_Detector.m from the MDN toolbox.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Wkflow_sequence_detectorINSTANCE
-
Method Summary
Modifier and Type Method Description final static List<List<Integer>>detectSequences(Matrix linkMatrix, List<Integer> serviceNodes)Detect sequence patterns in a workflow network. final static BooleanvalidateSequence(List<Integer> sequence, Matrix linkMatrix)Validate that a sequence chain is properly connected. final static Map<String, Object>getSequenceStats(List<List<Integer>> sequences)Get sequence statistics for analysis. -
-
Method Detail
-
detectSequences
final static List<List<Integer>> detectSequences(Matrix linkMatrix, List<Integer> serviceNodes)
Detect sequence 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 IDs- Returns:
List of sequence chains, where each chain is a list of connected service nodes
-
validateSequence
final static Boolean validateSequence(List<Integer> sequence, Matrix linkMatrix)
Validate that a sequence chain is properly connected.
-
-
-
-