Constructor and Description |
---|
AlphaMiner()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
doMining(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log)
Deprecated.
|
java.lang.Object[] |
doMining(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.info.XLogInfo summary,
org.processmining.plugins.log.logabstraction.LogRelations relations)
Deprecated.
|
java.lang.Object[] |
doMining(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.info.XLogInfo summary)
Deprecated.
|
java.util.Collection<Tuple> |
expandNode(Tuple toExpand,
org.processmining.framework.plugin.Progress progress,
java.util.Collection<Tuple> resultsSoFar)
Deprecated.
This method is called by the searcher when a node in the search tree has
to be considered for expansion.
|
void |
processLeaf(Tuple toAdd,
org.processmining.framework.plugin.Progress progress,
java.util.Collection<Tuple> resultCollection)
Deprecated.
This method is called by the searcher to which this expander is
registered each time a leaf was encountered.
|
protected java.util.Collection<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.deckfour.xes.classification.XEventClass>> |
reverse(java.util.Map<org.deckfour.xes.classification.XEventClass,org.processmining.models.graphbased.directed.petrinet.elements.Transition> class2transition)
Deprecated.
Flip the mapping given around (so values map to keys); handles multiple
values with same key.
|
public java.lang.Object[] doMining(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log) throws java.util.concurrent.CancellationException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.util.concurrent.CancellationException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public java.lang.Object[] doMining(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo summary) throws java.util.concurrent.CancellationException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.util.concurrent.CancellationException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public java.lang.Object[] doMining(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.info.XLogInfo summary, org.processmining.plugins.log.logabstraction.LogRelations relations) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
protected java.util.Collection<org.processmining.framework.util.Pair<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.deckfour.xes.classification.XEventClass>> reverse(java.util.Map<org.deckfour.xes.classification.XEventClass,org.processmining.models.graphbased.directed.petrinet.elements.Transition> class2transition)
class2transition
- public java.util.Collection<Tuple> expandNode(Tuple toExpand, org.processmining.framework.plugin.Progress progress, java.util.Collection<Tuple> resultsSoFar)
org.processmining.framework.util.search.NodeExpander
expandNode
in interface org.processmining.framework.util.search.NodeExpander<Tuple>
toExpand
- The node to expand.progress
- The progress indicator provided to the searcher in which this
expander is registered. The expander may increment the
progress, but it should check for cancellation, especially
when doing long computations.resultsSoFar
- the leafs of the search space that have been added to the
resultCollection by the processLeaf method. Note that any
access to this collection should be synchronized and this
collection should not be modified in this method. However the
provided collection is modifiable, as for synchronization
purposes, the actual resultCollection is provided.public void processLeaf(Tuple toAdd, org.processmining.framework.plugin.Progress progress, java.util.Collection<Tuple> resultCollection)
org.processmining.framework.util.search.NodeExpander
synchronized(resultCollection) {
resultCollection.add(leaf);
}
However, more advanced implementations are possible.
Finally, note that calls to this method are not thread-safe, i.e. the
implementing class should take care of synchronization on the
resultCollection if necessary (as in the example above).processLeaf
in interface org.processmining.framework.util.search.NodeExpander<Tuple>
toAdd
- The node that was found to be a leaf by the expandNode method
(i.e. the expandNode method returned and empty collection)progress
- The progress indicator provided to the searcher in which this
expander is registered. The expander may increment the
progress, but it should check for cancellation, especially
when doing long computations.resultCollection
- The collection to which to add the leaf node. More advanced
computations are allowed here, i.e. the resultCollection can
be changed. Note however that this requires syncrhonization on
the collection, as calls to this method are not thread-safe.