@@ -34,6 +34,7 @@ type c_link_value
3434type c_counter_name
3535type c_guard_parameter
3636type c_site_or_guard_p = Site of c_site_name | Guard_p of c_guard_parameter
37+ type c_guard_p_then_site
3738
3839(* ***************************************************************************)
3940
@@ -55,8 +56,8 @@ val dummy_link_value : c_link_value
5556val dummy_site_name_1 : c_site_name
5657val dummy_site_name_minus1 : c_site_name
5758val next_link_value : c_link_value -> c_link_value
58- val fst_site : c_site_name
59- val snd_site : c_site_name
59+ val fst_site : c_guard_p_then_site (* rTODO maybe add nr_guard_params? *)
60+ val snd_site : c_guard_p_then_site
6061val dummy_state_index_1 : c_state
6162val string_of_agent_name : c_agent_name -> string
6263val int_of_agent_name : c_agent_name -> int
@@ -70,8 +71,19 @@ val state_index_of_int : int -> c_state
7071val int_of_state_index : c_state -> int
7172val string_of_state_index : c_state -> string
7273val guard_parameter_of_int : int -> c_guard_parameter
74+ val guard_p_then_site_of_int : int -> c_guard_p_then_site
75+ val int_of_guard_p_then_site : c_guard_p_then_site -> int
76+ val guard_p_then_site_of_site : c_site_name -> int -> c_guard_p_then_site
77+ val guard_p_then_site_of_guard : c_guard_parameter -> c_guard_p_then_site
78+
79+ val guard_p_then_site_of_site_or_guard_p :
80+ c_site_or_guard_p -> int -> c_guard_p_then_site
81+
7382val int_of_guard_parameter : c_guard_parameter -> int
7483
84+ val site_or_guard_p_of_guard_p_then_site :
85+ c_guard_p_then_site -> int -> c_site_or_guard_p
86+
7587val string_of_state_index_option_min :
7688 Remanent_parameters_sig .parameters -> c_state option -> string
7789
@@ -91,6 +103,7 @@ val next_agent_id : c_agent_id -> c_agent_id
91103val next_agent_name : c_agent_name -> c_agent_name
92104val next_rule_id : c_rule_id -> c_rule_id
93105val next_site_name : c_site_name -> c_site_name
106+ val next_guard_or_site_name : c_guard_p_then_site -> c_guard_p_then_site
94107val next_state_index : c_state -> c_state
95108val pred_site_name : c_site_name -> c_site_name
96109val pred_agent_name : c_agent_name -> c_agent_name
@@ -375,6 +388,9 @@ module SiteOrGuard_map_and_set :
375388
376389module Site_map_and_set : Map_wrapper .S_with_logs with type elt = c_site_name
377390
391+ module GuardSite_map_and_set :
392+ Map_wrapper. S_with_logs with type elt = c_guard_p_then_site
393+
378394type c_interface = c_port Site_map_and_set.Map .t
379395
380396type c_proper_agent = {
@@ -485,6 +501,11 @@ module Agent_type_site_nearly_Inf_Int_Int_storage_Imperatif_Imperatif :
485501 with type key = c_agent_name * c_site_name
486502 and type dimension = int * int
487503
504+ module Agent_type_guard_or_site_nearly_Inf_Int_Int_storage_Imperatif_Imperatif :
505+ Int_storage. Storage
506+ with type key = c_agent_name * c_guard_p_then_site
507+ and type dimension = int * int
508+
488509module Agent_type_site_quick_nearly_Inf_Int_Int_storage_Imperatif_Imperatif :
489510 Int_storage. Storage
490511 with type key = c_agent_name * c_site_name
@@ -501,6 +522,11 @@ module Site_type_nearly_Inf_Int_storage_Imperatif :
501522module Site_type_quick_nearly_Inf_Int_storage_Imperatif :
502523 Int_storage. Storage with type key = c_site_name and type dimension = int
503524
525+ module GuardPOrSite_nearly_Inf_Int_storage_Imperatif :
526+ Int_storage. Storage
527+ with type key = c_guard_p_then_site
528+ and type dimension = int
529+
504530module State_index_nearly_Inf_Int_storage_Imperatif :
505531 Int_storage. Storage with type key = c_state and type dimension = int
506532
@@ -586,7 +612,9 @@ module AgentsSitePState_map_and_set :
586612 with type elt = c_agent_id * c_agent_name * c_site_name * pair_of_states
587613
588614module Views_bdu :
589- Mvbdu_wrapper. Mvbdu with type key = c_site_name and type value = c_state
615+ Mvbdu_wrapper. Mvbdu
616+ with type key = c_guard_p_then_site
617+ and type value = c_state
590618
591619module Views_intbdu :
592620 Mvbdu_wrapper. Internalized_mvbdu
0 commit comments