|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.processmining.framework.models.petrinet.TransitionCluster
public class TransitionCluster
A transition cluster is a group of transitions in a Petri net that are
grouped together.
For example, the makeClusters
procedure groups
transitions belonging to the same activity but to different log event types
(such as Start, Schedule, Complete). The cluster will be visualized by
drawing a blue box around the group of transitions.
Note that the transition contained in the cluster must be also contained in the transition list of the Petri net. The grouping is considered to be additional information based on that set of transitions.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
TransitionCluster(java.lang.String label)
Default constructor. |
|
TransitionCluster(TransitionCluster copyTemplate)
Copy constructor initializing the transition cluster based on the given template cluster. |
Method Summary | |
---|---|
boolean |
addTransition(Transition t)
Adds a transition to this cluster. |
java.lang.Object |
clone()
Makes a deep copy of the object. |
java.lang.String |
getLabel()
Gets the name of the transition cluster. |
Transition |
getTransition(int i)
Gets a transition from the cluster based on the given index. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public TransitionCluster(java.lang.String label)
label
- the name of the clusterpublic TransitionCluster(TransitionCluster copyTemplate)
copyTemplate
- the given cluster serving as a template for this objectMethod Detail |
---|
public boolean addTransition(Transition t)
t
- the transition to be added
true
if the transition is not contained yet, and
the transition could be added. False
otherwisepublic Transition getTransition(int i)
i
- the index
public java.lang.String getLabel()
public java.lang.Object clone()
clone
in class java.util.ArrayList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |