Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
File size: 417 Bytes
4365a98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
unset_jrh_lexer;;

module Intvertex = struct
  type t = int
  let compare : t -> t -> int = Pervasives.compare
  let hash = Hashtbl.hash
  let equal = (=)
  let default = 0
end;;

module Gr = Graph.Imperative.Digraph.ConcreteBidirectional(Intvertex);;

module Topo = Graph.Topological.Make(Gr);;

let make_vertex var_index = Gr.V.create var_index;;
let dest_vertex var_index = Gr.V.label var_index;;

set_jrh_lexer;;