NFABuilder
Implementation of NFABuilder using `HashMap`s and `HashSet`s.
- Type Params
- S
The type of all states of the automaton
- T
The type of labels on (non-epsilon) transitions of the automaton
- Constructor
Returns a builder holding an initially empty automaton
Value members
Abstract methods
Internal method for instantiating a DFA of the appropriate runtime type which may not have the same type components as this DFA.
Internal method for instantiating a DFA of the appropriate runtime type which may not have the same type components as this DFA.
Concrete methods
Helper method for the scala.collection.mutable.Builder implementation.
Helper method for the scala.collection.mutable.Builder implementation.
- Definition Classes
Creates an immutable NFA corresponding to the automaton described to this builder. This method creates elements of the internal state of the NFA, and passes them to the abstract method assembleNFA: the actual definition of assembleNFA is in the concrete classes (of package org.maraist.fa) implementing this trait.
Creates an immutable NFA corresponding to the automaton described to this builder. This method creates elements of the internal state of the NFA, and passes them to the abstract method assembleNFA: the actual definition of assembleNFA is in the concrete classes (of package org.maraist.fa) implementing this trait.
Inherited methods
- Inherited from
- Growable
- Inherited from
- UnindexedFA
Clear this builder. When overriding this method, it is important
to call super.clear()
.
Clear this builder. When overriding this method, it is important
to call super.clear()
.
- Definition Classes
- Inherited from
- FABuilder
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
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
Add decorations for an initial state.
Add decorations for an initial state.
- Inherited from
- UnindexedFA
- Inherited from
- UnindexedFA
- Inherited from
- UnindexedFA
Deprecated and Inherited methods
- Deprecated
[Since version 2.13.0]
Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated- Inherited from
- Growable
Concrete fields
Inherited fields
Storage for all final state objects.
Storage for all final state objects.
- Inherited from
- FABuilder