Dutch PHP Conference 2023 - Call for Papers

The FANNConnection class

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


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 __construct(int $from_neuron, int $to_neuron, float $weight)
public getFromNeuron(): int
public getToNeuron(): int
public getWeight(): void
public setWeight(float $weight): void



The neuron where the connection starts.


The neuron where the connection ends.


The weight of the connection.

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top