
call_graph.pl -- Build the call graph used for NMR check construction and indexing.Given the input program, build a call graph and assert the components.
a(?Head:int, ?Goal:int, ?Negation:int, ?ID:int) is det
ar(?ArcID:int, ?RuleIDs:list) is det
build_call_graph(+Rules:list, -Nodes:list)
get_nodes(+Arcs:list, -Nodes:list)[private]
get_arcs(+Rules:list, +ArcsIn:list, -ArcsOut:list)[private]
get_arcs2(+Head:ground, +ID:int, +Goals:list, +ArcsIn:list, -ArcsOut:list)[private]a(head, goal,
negation, id).
merge_arcs(+ArcsIn:list, -ArcsOut:list, -IDgroups:list) is det[private]
merge_arcs2(+Head:int, +Goal:int, +Neg:int, +ArcsIn:list, -ArcsOut:list, -IDs:list) is det[private]
assert_all(+List:list)[private]
destroy_call_graph