array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'fannconnection.construct.php', 1 => 'FANNConnection::__construct', ), 'up' => array ( 0 => 'class.fannconnection.php', 1 => 'FANNConnection', ), 'prev' => array ( 0 => 'class.fannconnection.php', 1 => 'FANNConnection', ), 'next' => array ( 0 => 'fannconnection.getfromneuron.php', 1 => 'FANNConnection::getFromNeuron', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/fannconnection/construct.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL fann >= 1.0.0)
FANNConnection::__construct — The connection constructor
Create new connection and initialize its params. After creating the connection, only weight can be changed.
from_neuron
The position number of starting neuron.
to_neuron
The position number of terminating neuron.
weight
The connection weight value.