This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>ToplAutomaton (infer.TOPLlib.ToplAutomaton)</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>»<ahref="../index.html">TOPLlib</a>» ToplAutomaton</nav><h1>Module <code>TOPLlib.ToplAutomaton</code></h1></header><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt><dtclass="spec type"id="type-vindex"><ahref="#type-vindex"class="anchor"></a><code><spanclass="keyword">type</span> vindex</code><code> = int</code></dt><dd><p>from 0 to vcount()-1, inclusive</p></dd></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare_vindex"><ahref="#val-compare_vindex"class="anchor"></a><code><spanclass="keyword">val</span> compare_vindex : <ahref="index.html#type-vindex">vindex</a><span>-></span><ahref="index.html#type-vindex">vindex</a><span>-></span> int</code></dt></dl></div></div></div><dl><dtclass="spec type"id="type-tindex"><ahref="#type-tindex"class="anchor"></a><code><spanclass="keyword">type</span> tindex</code><code> = int</code></dt><dd><p>from 0 to tcount()-1, inclusive</p></dd></dl><dl><dtclass="spec type"id="type-transition"><ahref="#type-transition"class="anchor"></a><code><spanclass="keyword">type</span> transition</code><code> = </code><code>{</code><tableclass="record"><trid="type-transition.source"class="anchored"><tdclass="def field"><ahref="#type-transition.source"class="anchor"></a><code>source : <ahref="index.html#type-vindex">vindex</a>;</code></td></tr><trid="type-transition.target"class="anchored"><tdclass="def field"><ahref="#type-transition.target"class="anchor"></a><code>target : <ahref="index.html#type-vindex">vindex</a>;</code></td></tr><trid="type-transition.label"class="anchored"><tdclass="def field"><ahref="#type-transition.label"class="anchor"></a><code>label : <span><ahref="../ToplAst/index.html#type-label">ToplAst.label</a> option</span>;</code></td></tr></table><code>}</code></dt></dl><dl><dtclass="spec value"id="val-make"><ahref="#val-make"class="anchor"></a><code><spanclass="keyword">val</span> make : <span><ahref="../ToplAst/index.html#type-t">ToplAst.t</a> list</span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-outgoing"><ahref="#val-outgoing"class="anchor"></a><code><spanclass="keyword">val</span> outgoing : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-vindex">vindex</a><span>-></span><span><ahref="index.html#type-tindex">tindex</a> list</span></code></dt><dtclass="spec value"id="val-is_nondet"><ahref="#val-is_nondet"class="anchor"></a><code><spanclass="keyword">val</span> is_nondet : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-vindex">vindex</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-vcount"><ahref="#val-vcount"class="anchor"></a><code><spanclass="keyword">val</span> vcount : <ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dtclass="spec value"id="val-transition"><ahref="#val-transition"class="anchor"></a><code><spanclass="keyword">val</span> transition : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-tindex">tindex</a><span>-></span><ahref="index.html#type-transition">transition</a></code></dt><dtclass="spec value"id="val-tfilter_map"><ahref="#val-tfilter_map"class="anchor"></a><code><spanclass="keyword">val</span> tfilter_map : <ahref="index.html#type-t">t</a><span>-></span><span>f:<span>(<ahref="index.html#type-transition">transition</a><span>-></span><span><spanclass="type-var">'a</span> option</span>)</span></span><span>-></span><span><spanclass="type-var">'a</span> list</span></code></dt><dtclass="spec value"id="val-is_skip"><ahref="#val-is_skip"class="anchor"></a><code><spanclass="keyword">val</span> is_skip : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-tindex">tindex</a><span>-></span> bool</code></dt><dd><p>A transition is *skip* when it has no action, its guard is implied by all other guards, and its target equals its source. <code>is_skip automaton t</code> returns true when it can prove that <code>t</code> is skip.</p></dd></dl><dl><dtclass="spec value"id="val-tcount"><ahref="#val-tcount"class="anchor"></a><code><spanclass="keyword">val</span> tcount : <ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dtclass="spec value"id="val-max_args"><ahref="#val-max_args"class="anchor"></a><code><spanclass="keyword">val</span> max_args : <ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dtclass="spec value"id="val-get_start_error_pairs"><ahref="#val-get_start_error_pairs"class="anchor"></a><code><spanclass="keyword">val</span> get_start_error_pairs : <ahref="index.html#type-t">t</a><span>-></span><span><span>(<ahref="index.html#type-vindex">vindex</a> * <ahref="index.html#type-vindex">vindex</a>)</span> list</span></code></dt><dd><p>Return pairs <code>(i,j)</code> of vertex indices corresponding to pairs <code>((p, "start"), (p, "error"))</code> of vertex names, where <code>p</code> ranges over property names. POST: no vertex index occurs more than once in the result.</p></dd></dl><dl><dtclass="spec value"id="val-registers"><ahref="#val-registers"class="anchor"></a><code><spanclass="keyword">val</span> registers : <ahref="index.html#type-t">t</a><span>-></span><span><ahref="../ToplAst/index.html#type-register_name">ToplAst.register_name</a> list</span></code></dt><dtclass="spec value"id="val-pp_message_of_state"><ahref="#val-pp_message_of_state"class="anchor"></a><code><spanclass="keyword">val</span> pp_message_of_state : Stdlib.Format.formatter <span>-></span><span>(<ahref="index.html#type-t">t</a> * <ahref="index.html#type-tindex">tindex</a>)</span><span>-></span> unit</code></dt><dd><p>Print "property P reaches state E".</p></dd></dl><dl><dtclass="spec value"id="val-is_start"><ahref="#val-is_start"class="anchor"></a><code><spanclass="keyword">val</span> is_start : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-vindex">vindex</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-is_error"><ahref="#val-is_error"class="anchor"></a><code><spanclass="keyword">val</span> is_error : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-vindex">vindex</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-pp_transition"><ahref="#val-pp_transition"class="anchor"></a><code><spanclass="keyword">val</span> pp_transition : Stdlib.Format.formatter <span>-></span><ahref="index.html#type-transition">transition</a><span>-></span> unit</code></dt></dl></div></body></html>