frenetic.netkat
Global_compiler.Automaton
Intermediate representation of global compiler: NetKAT Automata
frenetic
frenetic.async
frenetic.kernel
type t = private {
states : (int64, FDD.t * FDD.t) Core.Hashtbl.t;
has_state : (FDD.t * FDD.t, int64) Core.Hashtbl.t;
mutable source : int64;
mutable nextState : int64;
}
val add_to_t : t -> (FDD.t * FDD.t) -> int64
val fold_reachable : ?order:[< `Post | `Pre Pre ] -> t -> init:'a -> f:('a -> int64 -> (FDD.t * FDD.t) -> 'a) -> 'a
val of_policy : ?dedup:bool -> ?ing:Syntax.pred -> ?cheap_minimize:bool -> Syntax.policy -> t
val to_local : pc:Fdd.Field.t -> t -> FDD.t
val to_dot : t -> string
val render : ?format:string -> ?title:string -> t -> unit
Compiles the provided automaton `t` using `graphviz`, and opens the resulting file.
val skip_topo_states : t -> (int64, int64 * int64) Core.Hashtbl.t * (int64 * int64, Core.Int64.Set.t) Core.Hashtbl.t