# 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 FANNConnection {
/* プロパティ */
public $from_neuron;
public $to_neuron;
public $weight;
/* メソッド */
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
}

## プロパティ

from_neuron

  The neuron where the connection starts.

to_neuron

  The neuron where the connection ends.

weight

  The weight of the connection.

## 目次

- FANNConnection::__construct — The connection constructor
- FANNConnection::getFromNeuron — Returns the positions of starting neuron
- FANNConnection::getToNeuron — Returns the positions of terminating neuron
- FANNConnection::getWeight — Returns the connection weight
- FANNConnection::setWeight — Sets the connections weight

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open