Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<fann_train_on_fileFANNConnection::__construct>
^FANNLast updated: Mon, 26 Oct 2026

The FANNConnection class

(No version information available, might only be in Git)

Introduction

FANNConnection is used for the neural network connection. The objects of this class are used in fann_get_connection_array() and fann_set_weight_array().

Class synopsis

class FANNConnection {
/* Properties */
public $from_neuron;
public $to_neuron;
public $weight;
/* Methods */
public function __construct(int $from_neuron, int $to_neuron, float $weight)
public function getFromNeuron(): int
public function getToNeuron(): int
public function getWeight(): void
public function setWeight(float $weight): void
}

Properties

from_neuron

The neuron where the connection starts.

to_neuron

The neuron where the connection ends.

weight

The weight of the connection.

Table of Contents


<fann_train_on_fileFANNConnection::__construct>
^FANNLast updated: Mon, 26 Oct 2026