FANNConnection
class FANNConnection (View source)
Class FANNConnection
Properties
float | $weight | ||
int | $to_neuron | ||
int | $from_neuron |
Methods
__construct(int $from_neuron, int $to_neuron, float $weight)
The connection constructor
int
getFromNeuron()
Returns the postions of starting neuron.
int
getToNeuron()
Returns the postions of terminating neuron
void
getWeight()
Returns the connection weight
bool
setWeight(float $weight)
Sets the connections weight
Details
__construct(int $from_neuron, int $to_neuron, float $weight)
The connection constructor
int
getFromNeuron()
Returns the postions of starting neuron.
int
getToNeuron()
Returns the postions of terminating neuron
void
getWeight()
Returns the connection weight
bool
setWeight(float $weight)
Sets the connections weight