module Dfa:sig
..end
A DFA is just a NFA in which there's at most one transition with a given symbol from any state.
This condition will be enforced by the create
and add_transition
functions.
module type T =sig
..end
module Make(
S
:
Ltsa.STATE
)
(
L
:
Nfa.SYMBOL
)
:T
with type state = S.t and type symbol = L.t
module Trans(
S1
:
T
)
(
S2
:
T
)
:sig
..end
module Product(
S1
:
T
)
(
S2
:
T
with type symbol = S1.symbol and type Symbols.t = S1.Symbols.t and type NFA.Symbols.t = S1.NFA.Symbols.t
)
:sig
..end