Class: Kleene::MachineTuple
- Inherits:
-
Object
- Object
- Kleene::MachineTuple
- Defined in:
- lib/kleene/online_dfa.rb,
lib/kleene/multi_match_dfa.rb
Instance Attribute Summary collapse
-
#dfa ⇒ Object
: DFA.
-
#nfa ⇒ Object
: NFA.
-
#nfa_with_dead_err ⇒ Object
: NFA.
Instance Method Summary collapse
-
#initialize(nfa, nfa_with_dead_err, dfa) ⇒ MachineTuple
constructor
A new instance of MachineTuple.
Constructor Details
#initialize(nfa, nfa_with_dead_err, dfa) ⇒ MachineTuple
Returns a new instance of MachineTuple.
10 11 12 |
# File 'lib/kleene/online_dfa.rb', line 10 def initialize(nfa, nfa_with_dead_err, dfa) @nfa, @nfa_with_dead_err, @dfa = nfa, nfa_with_dead_err, dfa end |
Instance Attribute Details
#dfa ⇒ Object
: DFA
8 9 10 |
# File 'lib/kleene/online_dfa.rb', line 8 def dfa @dfa end |
#nfa ⇒ Object
: NFA
6 7 8 |
# File 'lib/kleene/online_dfa.rb', line 6 def nfa @nfa end |
#nfa_with_dead_err ⇒ Object
: NFA
7 8 9 |
# File 'lib/kleene/online_dfa.rb', line 7 def nfa_with_dead_err @nfa_with_dead_err end |