diff options
Diffstat (limited to 'backend/IRC_graph.v')
-rwxr-xr-x | backend/IRC_graph.v | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/backend/IRC_graph.v b/backend/IRC_graph.v new file mode 100755 index 00000000..31e9ce80 --- /dev/null +++ b/backend/IRC_graph.v @@ -0,0 +1,15 @@ +Require Import FSets. +Require Import InterfGraphMapImp. + +Record irc_graph := Make_IRC_Graph { +irc_g : tt; +irc_wl : WS; +pal : VertexSet.t; +irc_k : nat; +HWS_irc : WS_properties irc_g irc_k irc_wl; +Hk : VertexSet.cardinal pal = irc_k +}. + +Definition graph_to_IRC_graph g palette := +let K := VertexSet.cardinal palette in +Make_IRC_Graph g (get_WL g K) palette K (WS_prop_get _ _) (refl_equal _). |