FANNCONNECTION(3) 1 FANNCONNECTION(3)
The FANNConnection class
INTRODUCTION
FANNConnection is used for the neural network connection. The objects of this class are used in fann_get_connection_array(3) and
fann_set_weight_array(3).
CLASS SYNOPSIS
FANNConnection
FANNConnection
Properties
o public$from_neuron
o public$to_neuron
o public$weight
Methods
o public FANNConnection::__construct (int $from_neuron, int $to_neuron, float $weight)
o public int FANNConnection::getFromNeuron (void )
o public int FANNConnection::getToNeuron (void )
o public void FANNConnection::getWeight (void )
o public bool FANNConnection::setWeight (float $weight)
PROPERTIES
o $from_neuron
-The neuron where the connection starts.
o $to_neuron
-The neuron where the connection ends.
o $weight
-The weight of the connection.
PHP Documentation Group FANNCONNECTION(3)