<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Fcl_gcc.html"> <link rel="next" href="Fcl_conjunto.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="Fcl_genesis" rel="Chapter" href="Fcl_genesis.html"> <link title="Fcl_debug" rel="Chapter" href="Fcl_debug.html"> <link title="Fcl_misc" rel="Chapter" href="Fcl_misc.html"> <link title="Fcl_float" rel="Chapter" href="Fcl_float.html"> <link title="Fcl_stak" rel="Chapter" href="Fcl_stak.html"> <link title="Fcl_domain" rel="Chapter" href="Fcl_domain.html"> <link title="Fcl_setDomain" rel="Chapter" href="Fcl_setDomain.html"> <link title="Fcl_data" rel="Chapter" href="Fcl_data.html"> <link title="Fcl_cstr" rel="Chapter" href="Fcl_cstr.html"> <link title="Fcl_var" rel="Chapter" href="Fcl_var.html"> <link title="Fcl_reify" rel="Chapter" href="Fcl_reify.html"> <link title="Fcl_invariant" rel="Chapter" href="Fcl_invariant.html"> <link title="Fcl_boolean" rel="Chapter" href="Fcl_boolean.html"> <link title="Fcl_alldiff" rel="Chapter" href="Fcl_alldiff.html"> <link title="Fcl_linear" rel="Chapter" href="Fcl_linear.html"> <link title="Fcl_nonlinear" rel="Chapter" href="Fcl_nonlinear.html"> <link title="Fcl_expr" rel="Chapter" href="Fcl_expr.html"> <link title="Fcl_arith" rel="Chapter" href="Fcl_arith.html"> <link title="Fcl_interval" rel="Chapter" href="Fcl_interval.html"> <link title="Fcl_gcc" rel="Chapter" href="Fcl_gcc.html"> <link title="Fcl_fdArray" rel="Chapter" href="Fcl_fdArray.html"> <link title="Fcl_conjunto" rel="Chapter" href="Fcl_conjunto.html"> <link title="Fcl_sorting" rel="Chapter" href="Fcl_sorting.html"> <link title="Fcl_goals" rel="Chapter" href="Fcl_goals.html"> <link title="Fcl_opti" rel="Chapter" href="Fcl_opti.html"> <link title="Facile" rel="Chapter" href="Facile.html"><title>Fcl_fdArray</title> </head> <body> <div class="navbar"><a href="Fcl_gcc.html">Previous</a> <a href="index.html">Up</a> <a href="Fcl_conjunto.html">Next</a> </div> <center><h1>Module <a href="type_Fcl_fdArray.html">Fcl_fdArray</a></h1></center> <br> <pre><span class="keyword">module</span> Fcl_fdArray: <code class="code">sig</code> <a href="Fcl_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">Fcl_var.Fd.t array -> Fcl_var.Fd.t</code></pre><pre><span class="keyword">val</span> <a name="VALmax"></a>max : <code class="type">Fcl_var.Fd.t array -> Fcl_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">Fcl_var.Fd.t array -> Fcl_var.Fd.t -> <a href="Fcl_cstr.html#TYPEt">Fcl_cstr.t</a></code></pre><pre><span class="keyword">val</span> <a name="VALmax_cstr"></a>max_cstr : <code class="type">Fcl_var.Fd.t array -> Fcl_var.Fd.t -> <a href="Fcl_cstr.html#TYPEt">Fcl_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">Fcl_var.Fd.t array -> Fcl_var.Fd.t -> Fcl_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">Fcl_var.Fd.t array -> Fcl_var.Fd.t -> Fcl_var.Fd.t -> <a href="Fcl_cstr.html#TYPEt">Fcl_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>