©
Dokumen ini menggunakan Manual laman web PHP Cina Lepaskan
(PECL fann >= 1.0.0)
FANNConnection::setWeight — Sets the connections weight
$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.
Returns TRUE
on success, or FALSE
otherwise.