package
Version:
v0.0.0-...-d9f2893
Opens a new window with list of versions in this module.
Published: Dec 16, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package dfa implements Deterministic Finite Automaton(DFA).
DFA represents a Deterministic Finite Automaton.
NewDFA returns a new dfa.
GetRuntime returns a new Runtime for simulating d transitions.
func (dfa *DFA) Minimize()
Minimize minimizes the DFA.
Runtime has a pointer to d and saves current state for
simulating d transitions.
NewRuntime returns a new runtime for DFA.
Matching returns whether the string given is accepted (or not) by
simulating the all transitions.
Source Files
¶
Directories
¶
Package dfadebug provides some features to debug a dfa.
|
Package dfadebug provides some features to debug a dfa. |
Package dfarule implements the transition function of DFA.
|
Package dfarule implements the transition function of DFA. |
Click to show internal directories.
Click to hide internal directories.