public class CATransition extends Transition implements java.io.Serializable
| Constructor and Description |
|---|
CATransition(int i)
Take in input a transition
|
CATransition(int[] initial,
int[] label2,
int[] fina) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object t) |
int[] |
getFinalP() |
int[] |
getInitialP() |
int[] |
getLabelP() |
boolean |
match() |
static boolean |
match(int[] l,
int[] ll)
check if labels l and ll are in match
|
boolean |
offer() |
int |
receiver() |
boolean |
request() |
int |
sender() |
java.lang.String |
toString()
override of toString
|
getFinal, getInitial, getLabel, getTransitionByLabel, getTransitionFrompublic CATransition(int[] initial,
int[] label2,
int[] fina)
initial - initial statelabel2 - labelfina - final statepublic CATransition(int i)
i - the index of the transition to be showed as a message to the userpublic int[] getInitialP()
public int[] getFinalP()
public int[] getLabelP()
public boolean match()
public boolean offer()
public boolean request()
public int sender()
public int receiver()
public java.lang.String toString()
toString in class Transitionpublic boolean equals(java.lang.Object t)
equals in class java.lang.Objectpublic static boolean match(int[] l,
int[] ll)
l - ll -