Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 5ee7712a65135f0dd95d1c92938a0193 > files > 215

ocaml-facile-doc-1.1-2mdv2010.0.i586.rpm

<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="Start" href="index.html">
<link rel="previous" href="Var.BASICFD.html">
<link rel="Up" href="Var.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Domain" rel="Chapter" href="Domain.html">
<link title="SetDomain" rel="Chapter" href="SetDomain.html">
<link title="Stak" rel="Chapter" href="Stak.html">
<link title="Data" rel="Chapter" href="Data.html">
<link title="Cstr" rel="Chapter" href="Cstr.html">
<link title="Var" rel="Chapter" href="Var.html">
<link title="Invariant" rel="Chapter" href="Invariant.html">
<link title="Reify" rel="Chapter" href="Reify.html">
<link title="Arith" rel="Chapter" href="Arith.html">
<link title="Conjunto" rel="Chapter" href="Conjunto.html">
<link title="Goals" rel="Chapter" href="Goals.html">
<link title="FdArray" rel="Chapter" href="FdArray.html">
<link title="Gcc" rel="Chapter" href="Gcc.html">
<link title="Alldiff" rel="Chapter" href="Alldiff.html">
<link title="Sorting" rel="Chapter" href="Sorting.html">
<link title="Interval" rel="Chapter" href="Interval.html"><title>Var.FD</title>
</head>
<body>
<div class="navbar"><a href="Var.BASICFD.html">Previous</a>
&nbsp;<a href="Var.html">Up</a>
&nbsp;</div>
<center><h1>Module type <a href="type_Var.FD.html">Var.FD</a></h1></center>
<br>
<pre><span class="keyword">module type</span> FD = <code class="code">sig</code> <a href="Var.FD.html">..</a> <code class="code">end</code></pre>Extended signature for finite domain variable (with added functions
   irrelevant to set variables).<br>
<hr width="100%">
<pre><span class="keyword">include</span> <a href="Var.BASICFD.html">Var.BASICFD</a></pre>
<pre><span class="keyword">val</span> <a name="VALremove"></a>remove : <code class="type">t -> elt -> unit</code></pre><div class="info">
<code class="code">remove v a</code> removes <code class="code">a</code> from the domain of <code class="code">v</code>. Leaves the domain
   unchanged if <code class="code">a</code> does not belong to it.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALvalues"></a>values : <code class="type">t -> elt list</code></pre><div class="info">
<code class="code">values v</code> returns the list of all integers in the domain of <code class="code">v</code>. If
   <code class="code">v</code> is instantiated to <code class="code">n</code>, returns the singleton list containing <code class="code">n</code>.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALiter"></a>iter : <code class="type">(elt -> unit) -> t -> unit</code></pre><div class="info">
<code class="code">iter f v</code> iterates f on each integer in the domain of <code class="code">v</code>.<br>
</div>
</body></html>