|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.petrinetmining.PetriNetResult
public class PetriNetResult
Field Summary | |
---|---|
protected LogReader |
log
|
Constructor Summary | |
---|---|
PetriNetResult(LogReader log,
PetriNet net)
|
|
PetriNetResult(LogReader log,
PetriNet net,
MiningPlugin algorithm)
|
|
PetriNetResult(PetriNet net)
|
Method Summary | |
---|---|
void |
addInHierarchy(java.lang.Object child,
java.lang.Object parent,
java.lang.String label)
|
void |
connectWith(LogReader newLog,
java.util.HashMap eventsMapping)
Connects a LogReader to the object. |
java.util.ArrayList |
getConnectableObjects()
Returns all connectable objects of the underlying model. |
LogReader |
getLogReader()
Returns the LogReader object that was used to generate this mining result. |
PetriNet |
getPetriNet()
|
ProvidedObject[] |
getProvidedObjects()
|
javax.swing.JComponent |
getVisualization()
Returns a component that contains the visualization of this mining result. |
protected void |
repaint()
|
void |
unSelectAll()
unSelectAll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected LogReader log
Constructor Detail |
---|
public PetriNetResult(PetriNet net)
public PetriNetResult(LogReader log, PetriNet net)
public PetriNetResult(LogReader log, PetriNet net, MiningPlugin algorithm)
Method Detail |
---|
public void addInHierarchy(java.lang.Object child, java.lang.Object parent, java.lang.String label)
public ProvidedObject[] getProvidedObjects()
getProvidedObjects
in interface Provider
public PetriNet getPetriNet()
public LogReader getLogReader()
MiningResult
LogReader
object that was used to generate this mining result.
This function may return null.
getLogReader
in interface MiningResult
LogReader
object that was used to generate this mining result or null.public javax.swing.JComponent getVisualization()
MiningResult
null
if this result cannot be visualized.
getVisualization
in interface MiningResult
null
if this result cannot be visualizedprotected void repaint()
public java.util.ArrayList getConnectableObjects()
LogReaderConnection
getConnectableObjects
in interface LogReaderConnection
public void connectWith(LogReader newLog, java.util.HashMap eventsMapping)
LogReaderConnection
LogReader
to the object.
The eventsMapping
variable is a HashMap
that has a key
for every Object
returned by the getConnectableObjects
method.
Each key is an Object
and it is associated with
an Object[2]
object. This array contains two objects. The first object
is a LogEvent
object, to which the original should be mapped. The
second is a String
object, representing the label that should be used for
the identifier of the underlying graphical object.
The eventsMapping
parameter may be null
.
connectWith
in interface LogReaderConnection
newLog
- the log reader to connecteventsMapping
- the events to mappublic void unSelectAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |