MagicRewriting.RggSourceModule to handle the Rule/Goal Graph construction.
12.8 Rule/Goal Graph see p 795-799 of Principles of Database and Knowledge-Base Systems II, Ullman
Log is the log module for Rgg
type rule_node = {rule : ASRule.rule;adorned_head : Adornment.status list;position : int;bound_vars : ASPred.TermSet.t;free_vars : ASPred.TermSet.t;}type vertex = | Goal of ASPred.predicate * Adornment.status list| Rule of rule_nodeA node is either a Goal or a Rule
*)graph_to_dot rgg program filename Build a dot file from a rgg graph
build_rgg program query Build the rule/goal graph for program and query.