Sophie

Sophie

distrib > Mandriva > 2010.2 > x86_64 > by-pkgid > 6c04b069ac210850db36a09a9605e102 > files > 195

ocaml-facile-doc-1.1-2mdv2010.1.x86_64.rpm

<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="Start" href="index.html">
<link rel="previous" href="Goals.html">
<link rel="next" href="Gcc.html">
<link rel="Up" href="index.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>FdArray</title>
</head>
<body>
<div class="navbar"><a href="Goals.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Gcc.html">Next</a>
</div>
<center><h1>Module <a href="type_FdArray.html">FdArray</a></h1></center>
<br>
<pre><span class="keyword">module</span> FdArray: <code class="code">sig</code> <a href="FdArray.html">..</a> <code class="code">end</code></pre>Constraints over Arrays of Variables<br>
<hr width="100%">
<pre><span class="keyword">val</span> <a name="VALmin"></a>min : <code class="type">Var.Fd.t array -> Var.Fd.t</code></pre><pre><span class="keyword">val</span> <a name="VALmax"></a>max : <code class="type">Var.Fd.t array -> Var.Fd.t</code></pre><div class="info">
<code class="code">min vars</code> (resp. <code class="code">max vars</code>) returns a variable constrained to be equal
   to the variable that will be instantiated to the minimal (resp. maximal)
   value among all the variables in the array <code class="code">vars</code>. Raises
   <code class="code">Invalid_argument</code> if <code class="code">vars</code> is empty. Not reifiable.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALmin_cstr"></a>min_cstr : <code class="type">Var.Fd.t array -> Var.Fd.t -> <a href="Cstr.html#TYPEt">Cstr.t</a></code></pre><pre><span class="keyword">val</span> <a name="VALmax_cstr"></a>max_cstr : <code class="type">Var.Fd.t array -> Var.Fd.t -> <a href="Cstr.html#TYPEt">Cstr.t</a></code></pre><div class="info">
<code class="code">min_cstr vars mini</code> (resp. <code class="code">max_cstr vars maxi</code>) returns the constraint
   <code class="code">fd2e (min vars) =~ fd2e mini</code> (resp. <code class="code">fd2e (max vars) =~ fd2e maxi</code>).
   Raises <code class="code">Invalid_argument</code> if <code class="code">vars</code> is empty. Not reifiable.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALget"></a>get : <code class="type">Var.Fd.t array -> Var.Fd.t -> Var.Fd.t</code></pre><div class="info">
<code class="code">get vars index</code> returns a variable constrained to be equal to
   <code class="code">vars.(index)</code>. Variable <code class="code">index</code> is constrained within the range of
   the valid indices of the array <code class="code">(0..Array.length vars - 1)</code>. Raises
   <code class="code">Invalid_argument</code> if <code class="code">vars</code> is empty.
   Not reifiable.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALget_cstr"></a>get_cstr : <code class="type">Var.Fd.t array -> Var.Fd.t -> Var.Fd.t -> <a href="Cstr.html#TYPEt">Cstr.t</a></code></pre><div class="info">
<code class="code">get_cstr vars index v</code> returns the constraint
   <code class="code">fd2e vars.(index) =~ fd2e v</code>. Variable <code class="code">index</code> is constrained within
   the range of the valid indices of the array <code class="code">(0..Array.length vars - 1)</code>.
   Raises <code class="code">Invalid_argument</code> if <code class="code">vars</code> is empty. Not reifiable.<br>
</div>
</body></html>