Class PATransition
- java.lang.Object
-
- org.processmining.specpp.datastructures.transitionSystems.PATransition
-
public class PATransition extends java.lang.ObjectRepresents a transition of the prefix automaton
-
-
Constructor Summary
Constructors Constructor Description PATransition(Activity a)Creates a new transition with activity a.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivitygetActivity()Returns the activity of the transition.PAStategetPointer()Returns the pointer to the state the transition is pointing to.voidsetActivity(Activity a)Sets the activity of the transition.voidsetPointer(PAState p)Sets the pointer to the state the transition is pointing to.java.lang.StringtoString()Returns a String describing the transition.
-
-
-
Constructor Detail
-
PATransition
public PATransition(Activity a)
Creates a new transition with activity a.- Parameters:
a- Activity.
-
-
Method Detail
-
getActivity
public Activity getActivity()
Returns the activity of the transition.- Returns:
- Activity.
-
setActivity
public void setActivity(Activity a)
Sets the activity of the transition.- Parameters:
a- Activity.
-
getPointer
public PAState getPointer()
Returns the pointer to the state the transition is pointing to.- Returns:
- State.
-
setPointer
public void setPointer(PAState p)
Sets the pointer to the state the transition is pointing to.- Parameters:
p- Pointer.
-
toString
public java.lang.String toString()
Returns a String describing the transition.- Overrides:
toStringin classjava.lang.Object- Returns:
- String.
-
-