php-doc-en/reference/fann/functions/fann-set-weight-array.xml
2013-08-28 19:06:34 +00:00

72 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.fann-set-weight-array" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>fann_set_weight_array</refname>
<refpurpose>Set connections in the network</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>fann_set_weight_array</methodname>
<methodparam><type>resource</type><parameter>ann</parameter></methodparam>
<methodparam><type>array</type><parameter>connections</parameter></methodparam>
</methodsynopsis>
<para>
Set connections in the network.
</para>
<para>
Only the weights can be changed, connections and weights are ignored if they do not already exist in the network.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>ann</parameter></term>
<listitem>
&fann.ann.description;
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>connections</parameter></term>
<listitem>
<para>
An array of <classname>FANNConnection</classname> objects
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
&fann.return.bool;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->