public class ProcessTreeToNewickTree
extends java.lang.Object
Constructor and Description |
---|
ProcessTreeToNewickTree(org.processmining.processtree.ProcessTree tree)
Constructor will transform process tree to a newick tree format.
|
Modifier and Type | Method and Description |
---|---|
void |
convertToNewickString(org.processmining.processtree.Node n,
java.lang.String weight)
Recursive method to traverse the process tree in preorder.
|
NewickTree |
getNewickTree() |
java.lang.String |
translateOperator(org.processmining.processtree.Node n) |
public ProcessTreeToNewickTree(org.processmining.processtree.ProcessTree tree)
process
- tree: treepublic void convertToNewickString(org.processmining.processtree.Node n, java.lang.String weight)
n
- (node in process tree)weight
- (weight of the branches)public java.lang.String translateOperator(org.processmining.processtree.Node n)
public NewickTree getNewickTree()