You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
7.3 KiB

This file contains ambiguous Unicode characters!

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>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ToplAutomaton (infer.TOPLlib.ToplAutomaton)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">TOPLlib</a> &#x00BB; ToplAutomaton</nav><h1>Module <code>TOPLlib.ToplAutomaton</code></h1></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt><dt class="spec type" id="type-vindex"><a href="#type-vindex" class="anchor"></a><code><span class="keyword">type</span> vindex</code><code> = int</code></dt><dd><p>from 0 to vcount()-1, inclusive</p></dd></dl><div><div class="spec include"><div class="doc"><dl><dt class="spec value" id="val-compare_vindex"><a href="#val-compare_vindex" class="anchor"></a><code><span class="keyword">val</span> compare_vindex : <a href="index.html#type-vindex">vindex</a> <span>&#45;&gt;</span> <a href="index.html#type-vindex">vindex</a> <span>&#45;&gt;</span> int</code></dt></dl></div></div></div><dl><dt class="spec type" id="type-tindex"><a href="#type-tindex" class="anchor"></a><code><span class="keyword">type</span> tindex</code><code> = int</code></dt><dd><p>from 0 to tcount()-1, inclusive</p></dd></dl><dl><dt class="spec type" id="type-transition"><a href="#type-transition" class="anchor"></a><code><span class="keyword">type</span> transition</code><code> = </code><code>{</code><table class="record"><tr id="type-transition.source" class="anchored"><td class="def field"><a href="#type-transition.source" class="anchor"></a><code>source : <a href="index.html#type-vindex">vindex</a>;</code></td></tr><tr id="type-transition.target" class="anchored"><td class="def field"><a href="#type-transition.target" class="anchor"></a><code>target : <a href="index.html#type-vindex">vindex</a>;</code></td></tr><tr id="type-transition.label" class="anchored"><td class="def field"><a href="#type-transition.label" class="anchor"></a><code>label : <span><a href="../ToplAst/index.html#type-label">ToplAst.label</a> option</span>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-make"><a href="#val-make" class="anchor"></a><code><span class="keyword">val</span> make : <span><a href="../ToplAst/index.html#type-t">ToplAst.t</a> list</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-outgoing"><a href="#val-outgoing" class="anchor"></a><code><span class="keyword">val</span> outgoing : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-vindex">vindex</a> <span>&#45;&gt;</span> <span><a href="index.html#type-tindex">tindex</a> list</span></code></dt><dt class="spec value" id="val-is_nondet"><a href="#val-is_nondet" class="anchor"></a><code><span class="keyword">val</span> is_nondet : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-vindex">vindex</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-vcount"><a href="#val-vcount" class="anchor"></a><code><span class="keyword">val</span> vcount : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-transition"><a href="#val-transition" class="anchor"></a><code><span class="keyword">val</span> transition : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-tindex">tindex</a> <span>&#45;&gt;</span> <a href="index.html#type-transition">transition</a></code></dt><dt class="spec value" id="val-tfilter_map"><a href="#val-tfilter_map" class="anchor"></a><code><span class="keyword">val</span> tfilter_map : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>f:<span>(<a href="index.html#type-transition">transition</a> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> option</span>)</span></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> list</span></code></dt><dt class="spec value" id="val-is_skip"><a href="#val-is_skip" class="anchor"></a><code><span class="keyword">val</span> is_skip : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-tindex">tindex</a> <span>&#45;&gt;</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><dt class="spec value" id="val-tcount"><a href="#val-tcount" class="anchor"></a><code><span class="keyword">val</span> tcount : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-max_args"><a href="#val-max_args" class="anchor"></a><code><span class="keyword">val</span> max_args : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-get_start_error_pairs"><a href="#val-get_start_error_pairs" class="anchor"></a><code><span class="keyword">val</span> get_start_error_pairs : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><span>(<a href="index.html#type-vindex">vindex</a> * <a href="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, &quot;start&quot;), (p, &quot;error&quot;))</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><dt class="spec value" id="val-registers"><a href="#val-registers" class="anchor"></a><code><span class="keyword">val</span> registers : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><a href="../ToplAst/index.html#type-register_name">ToplAst.register_name</a> list</span></code></dt><dt class="spec value" id="val-pp_message_of_state"><a href="#val-pp_message_of_state" class="anchor"></a><code><span class="keyword">val</span> pp_message_of_state : Stdlib.Format.formatter <span>&#45;&gt;</span> <span>(<a href="index.html#type-t">t</a> * <a href="index.html#type-tindex">tindex</a>)</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>Print &quot;property P reaches state E&quot;.</p></dd></dl><dl><dt class="spec value" id="val-is_start"><a href="#val-is_start" class="anchor"></a><code><span class="keyword">val</span> is_start : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-vindex">vindex</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_error"><a href="#val-is_error" class="anchor"></a><code><span class="keyword">val</span> is_error : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-vindex">vindex</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-pp_transition"><a href="#val-pp_transition" class="anchor"></a><code><span class="keyword">val</span> pp_transition : Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-transition">transition</a> <span>&#45;&gt;</span> unit</code></dt></dl></div></body></html>