<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Biabduction__Propgraph (infer.Biabduction__Propgraph)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» Biabduction__Propgraph</nav><h1>Module <code>Biabduction__Propgraph</code></h1></header><aside><p>Propositions seen as graphs</p></aside><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span><span>'a t</span></code></dt><dd><p>prop considered as a graph</p></dd></dl><dl><dtclass="spec value"id="val-from_prop"><ahref="#val-from_prop"class="anchor"></a><code><spanclass="keyword">val</span> from_prop : <span><spanclass="type-var">'a</span><ahref="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span><span>-></span><span><spanclass="type-var">'a</span><ahref="index.html#type-t">t</a></span></code></dt><dd><p>create a graph from a prop</p></dd></dl><dl><dtclass="spec type"id="type-diff"><ahref="#type-diff"class="anchor"></a><code><spanclass="keyword">type</span><span>'a diff</span></code></dt><dd><p>Graph annotated with the differences w.r.t. a previous graph</p></dd></dl><dl><dtclass="spec value"id="val-compute_diff"><ahref="#val-compute_diff"class="anchor"></a><code><spanclass="keyword">val</span> compute_diff : <ahref="../IStdlib/Pp/index.html#type-color">IStdlib.Pp.color</a><span>-></span><span><spanclass="type-var">'a</span><ahref="index.html#type-t">t</a></span><span>-></span><span><spanclass="type-var">'a</span><ahref="index.html#type-t">t</a></span><span>-></span><span><spanclass="type-var">'a</span><ahref="index.html#type-diff">diff</a></span></code></dt><dd><p><code>compute_diff default_color oldgraph newgraph</code> returns the list of edges which are only in <code>newgraph</code></p></dd></dl><dl><dtclass="spec value"id="val-diff_get_colormap"><ahref="#val-diff_get_colormap"class="anchor"></a><code><spanclass="keyword">val</span> diff_get_colormap : bool <span>-></span><span><spanclass="type-var">'a</span><ahref="index.html#type-diff">diff</a></span><span>-></span><ahref="../IStdlib/Pp/index.html#type-colormap">IStdlib.Pp.colormap</a></code></dt><dd><p><code>diff_get_colormap footprint_part diff</code> returns the colormap of a computed diff, selecting the footprint colormap if <code>footprint_part</code> is true.</p></dd></dl><dl><dtclass="spec value"id="val-pp_proplist"><ahref="#val-pp_proplist"class="anchor"></a><code><spanclass="keyword">val</span> pp_proplist : <ahref="../IStdlib/Pp/index.html#type-env">IStdlib.Pp.env</a><span>-></span> string <span>-></span><span>(<span><spanclass="type-var">'a</span><ahref="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span> * bool)</span><span>-></span> Stdlib.Format.formatter <span>-></span><span><span><spanclass="type-var">'b</span><ahref="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span> list</span><span>-></span> unit</code></dt><dd><p>Print a list of propositions, prepending each one with the given string, If !Config.pring_using_diff is true, print the diff w.r.t. the given prop, extracting its local stack vars if the boolean is true.</p></dd></dl><dl><dtclass="spec value"id="val-d_proplist"><ahref="#val-d_proplist"class="anchor"></a><code><spanclass="keyword">val</span> d_proplist : <span><spanclass="type-var">'a</span><ahref="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span><span>-></span><span><span><spanclass="type-var">'b</span><ahref="../Biabduction/Prop/index.html#type-t">Biabduction.Prop.t</a></span> list</span><span>-></span> unit</code></dt><dd><p>d