Add GraphViz package...
This commit is contained in:
parent
30949252c0
commit
2708e66b19
2 changed files with 10 additions and 0 deletions
7
DFA.fs
7
DFA.fs
|
|
@ -1,6 +1,7 @@
|
|||
module DFA
|
||||
|
||||
open System
|
||||
open Shields.GraphViz
|
||||
|
||||
///
|
||||
/// A deterministic finite automaton
|
||||
|
|
@ -19,6 +20,12 @@ type DFA = {
|
|||
acceptingStates: String list
|
||||
}
|
||||
|
||||
(*
|
||||
let createGraph (dfa:DFA) =
|
||||
let mutable graph = Graph.Directed.Add(EdgeStatement.For("a", "b"))
|
||||
graph
|
||||
*)
|
||||
|
||||
/// Returns true if the DFA is valid, false otherwise
|
||||
let validateDFA (dfa:DFA) =
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue