EdgeAnnotatedDFA
Implementation of a edge-annotated DFA.
- Type Params
- S
The type of all states of the automaton
- T
The type of labels on (non-epsilon) transitions of the automaton
- Value Params
- finalStateIndices
Set of the indices of the final states of the automaton
- initialStateIndex
Index of the initial state of the automaton.
Value members
Abstract methods
Concrete methods
Return the annotation (if any) on the transition from the given state and with the given label.
Return the annotation (if any) on the transition from the given state and with the given label.
- Definition Classes
Return the annotation (if any) on the transition from src
to
dest
labelled label
.
Return the annotation (if any) on the transition from src
to
dest
labelled label
.
- Definition Classes
Return the annotation (if any) on the transition from the state at
index srcIdx
with the label with index labelIdx
.
Return the annotation (if any) on the transition from the state at
index srcIdx
with the label with index labelIdx
.
- Definition Classes
Return the annotation (if any) on the transition from the state at
index srcIdx
to the state at index destIdx
via the label
with index labelIdx
.
Return the annotation (if any) on the transition from the state at
index srcIdx
to the state at index destIdx
via the label
with index labelIdx
.
- Definition Classes
- Definition Classes
Return the annotation (if any) on the e-transition from src
to
dest
. For automata without e-transitions, this method will
always return None
.
Return the annotation (if any) on the e-transition from src
to
dest
. For automata without e-transitions, this method will
always return None
.
- Definition Classes
Return the annotation (if any) on the unlabelled transition from
the state at index srcIdx
to the state with index destIdx
.
Return the annotation (if any) on the unlabelled transition from
the state at index srcIdx
to the state with index destIdx
.
- Definition Classes
Return whether there is an annotation associated "before" the initial state.
Return whether there is an annotation associated "before" the initial state.
- Definition Classes
Add decorations for an initial state. Overridden in the org.maraist.fa.full.EdgeAnnotatedDFA for showing initial annotations.
Add decorations for an initial state. Overridden in the org.maraist.fa.full.EdgeAnnotatedDFA for showing initial annotations.
- Definition Classes
Inherited methods
- Inherited from
- UnindexedFA
Check whether there is an annotation on the transition from src
to dest
labelled label
.
Check whether there is an annotation on the transition from src
to dest
labelled label
.
- Definition Classes
- Inherited from
- UnindexedEdgeAnnotatedFA
Check whether there is an annotation on the unlabeled transition
from src
to dest
. For automata without e-transitions, this
method will always return false
.
Check whether there is an annotation on the unlabeled transition
from src
to dest
. For automata without e-transitions, this
method will always return false
.
- Definition Classes
- Inherited from
- UnindexedEdgeAnnotatedFA
Perform an action for every annotated unlabelled edge in this automaton.
Perform an action for every annotated unlabelled edge in this automaton.
- Definition Classes
- Inherited from
- UnindexedEdgeAnnotatedFA
Perform an action for every annotated labelled edge in this automaton.
Perform an action for every annotated labelled edge in this automaton.
- Definition Classes
- Inherited from
- UnindexedEdgeAnnotatedFA
Use Graphviz to render this object as specified.
Use Graphviz to render this object as specified.
- Inherited from
- Graphable
Use Graphviz to render this object (in the default format) to the given file.
Use Graphviz to render this object (in the default format) to the given file.
- Inherited from
- Graphable
Return any annotation associated "before" the initial state.
Return any annotation associated "before" the initial state.
- Inherited from
- UnindexedEdgeAnnotatedDFA
Internal routine used by [[#toDOT]]
. Subclesses may override,
but still call super.internalsToDOT, to extend the Graphviz
representation of a DFA.
Internal routine used by [[#toDOT]]
. Subclesses may override,
but still call super.internalsToDOT, to extend the Graphviz
representation of a DFA.
- Inherited from
- UnindexedFA
- Inherited from
- UnindexedFA