FANNConnection::getWeight
JSON
FANNConnection
PHP Manual

# FANNConnection::setWeight

(PECL fann >= 1.0.0)

FANNConnection::setWeight — Sets the connections weight

### 説明

public bool FANNConnection::setWeight ( float `$weight` )

Sets the connection weight.

This method is different than fann_set_weight(). It does not update the weight value in the network. The network value is updated only after calling fann_set_weight_array().

### パラメータ

`weight`

  The connection weight.

### 返り値

成功した場合に `TRUE`、それ以外の場合に `FALSE` を返します。

FANNConnection::getWeight
JSON
FANNConnection
PHP Manual