public class TreeUtils
extends java.lang.Object
Constructor and Description |
---|
TreeUtils() |
Modifier and Type | Method and Description |
---|---|
static org.processmining.plugins.etm.model.narytree.NAryTree |
cleanupTree(org.processmining.plugins.etm.model.narytree.NAryTree tree) |
static org.processmining.processtree.ProcessTree |
getClone(org.processmining.processtree.ProcessTree orig) |
static java.lang.String |
getOperator(short type) |
static org.processmining.plugins.etm.model.narytree.NAryTree |
removeUnnecessaryTausAndLeafs(org.processmining.plugins.etm.model.narytree.NAryTree tree)
Flattens a tree by allowing non-LOOP nodes to absorp children that are of
the same operator type as they and remove operators that have only 1
child
|
public static org.processmining.processtree.ProcessTree getClone(org.processmining.processtree.ProcessTree orig)
public static org.processmining.plugins.etm.model.narytree.NAryTree removeUnnecessaryTausAndLeafs(org.processmining.plugins.etm.model.narytree.NAryTree tree)
tree
- NAryTree to flattenpublic static java.lang.String getOperator(short type)
public static org.processmining.plugins.etm.model.narytree.NAryTree cleanupTree(org.processmining.plugins.etm.model.narytree.NAryTree tree)