Kappa_site_graphs.EdgesSourceConcrete graph implementation
add_agent ?id sigs agent_type graph
add_link ag1 s1 ag2 s2 t Some (i,j) as second returned element means cc j is now merged into cc i
Some (i,j) as second returned element means separate "new" cc j from cc i
is_internal internal_state agent_id site graph
link_exists ag1_id site1 ag2_id site2 graph
exists_fresh ag1 site1 type_of_ag2 site2 graph
link_destination ag site graph
iter_neighbors f ag graph calls function f on all direct neighbors of agent ag in graph.
are_connected ?max_distance graph nodes_x nodes_y
val build_user_snapshot :
debug_mode:bool ->
raw:bool ->
Signature.s ->
t ->
(int * User_graph.connected_component) list