public class ProcessTreeToNAryTree
extends java.lang.Object
Constructor and Description |
---|
ProcessTreeToNAryTree()
Instantiate this class, needed to build the XEventClass list assuming the
STANDARD CLASSIFIER.
|
ProcessTreeToNAryTree(org.deckfour.xes.classification.XEventClasses classes)
Instantiate this class and provide it with a list of known event classes
to use for translation
|
ProcessTreeToNAryTree(org.deckfour.xes.classification.XEventClassifier classifier)
Instantiate this class, needed to build the XEventClasses object on the
fly, assuming the provided classifier.
|
Modifier and Type | Method and Description |
---|---|
NAryTree |
convert(org.processmining.processtree.ProcessTree pt)
Convert the provided tree to an NAryTree
|
NAryTree |
convert(org.processmining.processtree.ProcessTree pt,
java.util.List<org.processmining.processtree.configuration.controlflow.ControlFlowConfiguration> configurations)
Convert the provided ProcessTree to an NAryTree, including the provided
configurations
|
NAryTree |
convertNode(org.processmining.processtree.Node node,
java.util.List<org.processmining.processtree.configuration.controlflow.ControlFlowConfiguration> configurations)
Convert the provided node to the equivalent NAryTree part
|
org.deckfour.xes.classification.XEventClasses |
getEventClasses()
While converting the ProcessTree to an NAryTree a mapping between the
short reference and event names was build which can be obtained using
this method
|
static void |
main(java.lang.String[] args)
TEST method
|
static void |
preprocessEvents(org.deckfour.xes.classification.XEventClasses classes,
org.processmining.processtree.Node node)
Preprocesses the XEventClasses object to contain all XEventClass
innstances in the provided (sub)tree.
|
public ProcessTreeToNAryTree()
public ProcessTreeToNAryTree(org.deckfour.xes.classification.XEventClassifier classifier)
classifier
- public ProcessTreeToNAryTree(org.deckfour.xes.classification.XEventClasses classes)
classes
- public NAryTree convert(org.processmining.processtree.ProcessTree pt)
pt
- ProcessTree to translatepublic NAryTree convert(org.processmining.processtree.ProcessTree pt, java.util.List<org.processmining.processtree.configuration.controlflow.ControlFlowConfiguration> configurations)
pt
- ProcessTree to translatedconfigurations
- List of configurations that are applied ot the NAryTreepublic NAryTree convertNode(org.processmining.processtree.Node node, java.util.List<org.processmining.processtree.configuration.controlflow.ControlFlowConfiguration> configurations)
node
- Process Tree node to convertconfigurations
- List of configurations to apply on the NAryTree, if null this
is ignoredpublic static void preprocessEvents(org.deckfour.xes.classification.XEventClasses classes, org.processmining.processtree.Node node)
classes
- node
- public org.deckfour.xes.classification.XEventClasses getEventClasses()
public static void main(java.lang.String[] args)
args
-