@PortedFrom(file="RAutomaton.h", name="RATransition") public class RATransition extends Object implements Serializable
| Constructor and Description |
|---|
RATransition(int st)
create a transition to given state
|
RATransition(int st,
Role r)
create a transition with a given label R to given state ST
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(RATransition trans)
add label of transition TRANS to transition's label
|
void |
addIfNew(RATransition trans)
add label of transition TRANS to transition's label only if they are new
|
boolean |
applicable(Role r) |
Collection<Role> |
begin() |
int |
finalState() |
boolean |
isEmpty() |
boolean |
isTop() |
void |
print(LogAdapter o,
int from)
print the transition starting from FROM
|
public RATransition(int st)
st - stpublic RATransition(int st,
Role r)
st - str - R@PortedFrom(file="RAutomaton.h", name="add") public void add(RATransition trans)
trans - trans@PortedFrom(file="RAutomaton.h", name="addIfNew") public void addIfNew(RATransition trans)
trans - transition@PortedFrom(file="RAutomaton.h", name="begin") public Collection<Role> begin()
@PortedFrom(file="RAutomaton.h", name="final") public int finalState()
@PortedFrom(file="RAutomaton.h", name="applicable") public boolean applicable(Role r)
r - R@PortedFrom(file="RAutomaton.h", name="empty") public boolean isEmpty()
@PortedFrom(file="RAutomaton.h", name="print") public void print(LogAdapter o, int from)
o - ofrom - from@PortedFrom(file="RAutomaton.h", name="isTop") public boolean isTop()
Copyright © 2018 The University of Manchester. All rights reserved.