@PortedFrom(file="RAutomaton.h", name="RATransition") public class RATransition extends Object
| 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
|
boolean |
applicable(Role R)
check whether transition is applicable wrt role R
|
Collection<Role> |
begin()
get the 1st role in (multi-)transition
|
int |
final_state()
give a point of the transition
|
boolean |
isEmpty()
check whether transition is empty
|
void |
print(LogAdapter o,
int from)
print the transition starting from FROM
|
public RATransition(int st)
public RATransition(int st,
Role R)
@PortedFrom(file="RAutomaton.h", name="add") public void add(RATransition trans)
@PortedFrom(file="RAutomaton.h", name="begin") public Collection<Role> begin()
@PortedFrom(file="RAutomaton.h", name="final") public int final_state()
@PortedFrom(file="RAutomaton.h", name="applicable") public boolean applicable(Role R)
@PortedFrom(file="RAutomaton.h", name="empty") public boolean isEmpty()
@PortedFrom(file="RAutomaton.h", name="print") public void print(LogAdapter o, int from)
Copyright © 2013 The University of Manchester. All Rights Reserved.