public class TransitionSystemFilter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static TransitionSystem |
removeArcsByLabel(TransitionSystem ts,
java.util.Set<java.lang.String> labels)
Creates a copy of the given TS with all arcs removed that have a
label contained within the given label set.
|
static TransitionSystem |
retainArcsByLabel(TransitionSystem ts,
java.util.Set<java.lang.String> labels)
Creates a copy of the given TS that only contains arcs that have a
label contained within the given label set.
|
public static TransitionSystem removeArcsByLabel(TransitionSystem ts, java.util.Set<java.lang.String> labels)
ts - the original TSlabels - a label setpublic static TransitionSystem retainArcsByLabel(TransitionSystem ts, java.util.Set<java.lang.String> labels)
ts - the original TSlabels - a label set