@PortedFrom(file="RAutomaton.h", name="RAStateTransitions") public class RAStateTransitions extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<RATransition> |
base
all transitions
|
protected boolean |
emptyTransition
check whether there is an empty transition going from this state
|
| Constructor and Description |
|---|
RAStateTransitions() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(RATransition trans)
add a transition from a given state
|
boolean |
addToExisting(RATransition trans)
add information from TRANS to existing transition between the same
states.
|
List<RATransition> |
begin()
RW begin
|
int |
getTransitionEnd() |
boolean |
hasEmptyTransition() |
boolean |
isEmpty() |
boolean |
isSingleton() |
void |
print(LogAdapter o)
print all the transitions starting from the state FROM
|
boolean |
recognise(Role R) |
void |
setup(int state,
int nRoles,
boolean data)
set up state transitions: no more additions to the structure
|
@PortedFrom(file="RAutomaton.h", name="Base") protected List<RATransition> base
@PortedFrom(file="RAutomaton.h", name="EmptyTransition") protected boolean emptyTransition
@PortedFrom(file="RAutomaton.h", name="begin") public List<RATransition> begin()
@PortedFrom(file="RAutomaton.h", name="add") public void add(RATransition trans)
@PortedFrom(file="RAutomaton.h", name="empty") public boolean isEmpty()
@PortedFrom(file="RAutomaton.h", name="hasEmptyTransition") public boolean hasEmptyTransition()
@PortedFrom(file="RAutomaton.h", name="print") public void print(LogAdapter o)
@PortedFrom(file="RAutomaton.h", name="setup") public void setup(int state, int nRoles, boolean data)
@PortedFrom(file="RAutomaton.h", name="addToExisting") public boolean addToExisting(RATransition trans)
@PortedFrom(file="RAutomaton.h", name="recognise") public boolean recognise(Role R)
@PortedFrom(file="RAutomaton.h", name="isSingleton") public boolean isSingleton()
@PortedFrom(file="RAutomaton.h", name="getTransitionEnd") public int getTransitionEnd()
Copyright © 2013 The University of Manchester. All Rights Reserved.