@PortedFrom(file="RAutomaton.h", name="RAStateTransitions") public class RAStateTransitions extends Object implements Serializable
| Constructor and Description |
|---|
RAStateTransitions()
Default constructor.
|
| 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() |
boolean |
empty() |
int |
getTransitionEnd() |
boolean |
hasEmptyTransition() |
boolean |
hasTopTransition() |
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
|
Stream<RATransition> |
stream() |
@PortedFrom(file="RAutomaton.h", name="begin") public List<RATransition> begin()
@PortedFrom(file="RAutomaton.h", name="begin") public Stream<RATransition> stream()
@PortedFrom(file="RAutomaton.h", name="add") public void add(RATransition trans)
trans - trans@PortedFrom(file="RAutomaton.h", name="hasTopTransition") public boolean hasTopTransition()
@PortedFrom(file="RAutomaton.h", name="empty") public boolean empty()
@PortedFrom(file="RAutomaton.h", name="hasEmptyTransition") public boolean hasEmptyTransition()
@PortedFrom(file="RAutomaton.h", name="print") public void print(LogAdapter o)
o - o@PortedFrom(file="RAutomaton.h", name="setup") public void setup(int state, int nRoles, boolean data)
state - statenRoles - nRolesdata - data@PortedFrom(file="RAutomaton.h", name="addToExisting") public boolean addToExisting(RATransition trans)
trans - trans@PortedFrom(file="RAutomaton.h", name="recognise") public boolean recognise(@Nullable Role r)
r - R@PortedFrom(file="RAutomaton.h", name="isSingleton") public boolean isSingleton()
@PortedFrom(file="RAutomaton.h", name="getTransitionEnd") public int getTransitionEnd()
Copyright © 2018 The University of Manchester. All rights reserved.