<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.fann.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'es',
  ),
  'this' => 
  array (
    0 => 'function.fann-set-weight.php',
    1 => 'fann_set_weight',
    2 => 'Establecer una conexi&oacute;n de la red',
  ),
  'up' => 
  array (
    0 => 'ref.fann.php',
    1 => 'Funciones de Fann',
  ),
  'prev' => 
  array (
    0 => 'function.fann-set-training-algorithm.php',
    1 => 'fann_set_training_algorithm',
  ),
  'next' => 
  array (
    0 => 'function.fann-set-weight-array.php',
    1 => 'fann_set_weight_array',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/fann/functions/fann-set-weight.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.fann-set-weight" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fann_set_weight</h1>
  <p class="verinfo">(PECL fann &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">fann_set_weight</span> &mdash; <span class="dc-title">Establecer una conexión de la red</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fann-set-weight-description">
  <h3 class="title">Descripción</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fann_set_weight</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$ann</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$from_neuron</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$to_neuron</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$weight</code></span><br>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Establecer una conexión de la red.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.fann-set-weight-parameters">
  <h3 class="title">Parámetros</h3>
  <dl>
   
    <dt><code class="parameter">ann</code></dt>
    <dd>
     <p class="para">Recurso de red neuronal.</p>
    </dd>
   
   
    <dt><code class="parameter">from_neuron</code></dt>
    <dd>
     <p class="para">
      La neurona donde empiza la conexión.
     </p>
    </dd>
   
   
    <dt><code class="parameter">to_neuron</code></dt>
    <dd>
     <p class="para">
      La neurona donde finaliza la conexión.
     </p>
    </dd>
   
   
    <dt><code class="parameter">weight</code></dt>
    <dd>
     <p class="para">
      El peso de la conexión.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fann-set-weight-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="para">Devuelve <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> en caso de éxito, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> de lo contrario.</p>
 </div>



</div><?php manual_footer($setup); ?>