Class EfficientTreeMetrics
- java.lang.Object
-
- org.processmining.plugins.InductiveMiner.efficienttree.EfficientTreeMetrics
-
public class EfficientTreeMetrics extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EfficientTreeMetrics()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.BitSetcanOnlyProduceTau(EfficientTree tree)static booleancanOnlyProduceTau(EfficientTree tree, int node)static booleancanProduceSingleActivity(EfficientTree tree, int node, int activity)static java.util.BitSetcanProduceTau(EfficientTree tree)static booleancanProduceTau(EfficientTree tree, int node)static longgetShortestTrace(EfficientTree tree, int node)static booleanonlyEmptyTrace(EfficientTree tree, int node)static booleantraceLengthAtMostOne(EfficientTree tree, int node)
-
-
-
Method Detail
-
getShortestTrace
public static long getShortestTrace(EfficientTree tree, int node) throws UnknownTreeNodeException
- Throws:
UnknownTreeNodeException
-
canOnlyProduceTau
public static java.util.BitSet canOnlyProduceTau(EfficientTree tree)
- Parameters:
tree-- Returns:
- a bitset that denotes whether a node can only produce the empty trace.
-
canOnlyProduceTau
public static boolean canOnlyProduceTau(EfficientTree tree, int node) throws UnknownTreeNodeException
- Throws:
UnknownTreeNodeException
-
canProduceTau
public static java.util.BitSet canProduceTau(EfficientTree tree)
-
canProduceTau
public static boolean canProduceTau(EfficientTree tree, int node) throws UnknownTreeNodeException
- Throws:
UnknownTreeNodeException
-
canProduceSingleActivity
public static boolean canProduceSingleActivity(EfficientTree tree, int node, int activity) throws UnknownTreeNodeException
- Parameters:
tree-node-activity-- Returns:
- whether the given node can produce the trace -activity-
- Throws:
UnknownTreeNodeException
-
traceLengthAtMostOne
public static boolean traceLengthAtMostOne(EfficientTree tree, int node) throws UnknownTreeNodeException
- Parameters:
tree-node-- Returns:
- whether each trace of the node has a length of at most one.
- Throws:
UnknownTreeNodeException
-
onlyEmptyTrace
public static boolean onlyEmptyTrace(EfficientTree tree, int node) throws UnknownTreeNodeException
- Parameters:
tree-node-- Returns:
- whether each trace of the node has a length of at most zero.
- Throws:
UnknownTreeNodeException
-
-