The FANNConnection class

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

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

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