FANN C# Connection float

Summary
FANN C# Connection float
ConnectionDescribes a connection between two neurons and its weight
Functions
ConnectionCreates a connection with the specified parameters Parameters: fromNeuron - Unique number used to identify source neuron toNeuron - Unique number used to identify destination neuron weight - The numerical value of the weight Example:
DisposeDestructs the connection.
Properties
FromNeuronUnique number used to identify source neuron
ToNeuronUnique number used to identify destination neuron
WeightThe numerical value of the weight

Connection

IDisposable
FANNCSharp.Float.Connection

Describes a connection between two neurons and its weight

FromNeuronUnique number used to identify source neuron
ToNeuronUnique number used to identify destination neuron
WeightThe numerical value of the weight

See Also

<NeuralNet::Connections>, <NeuralNet::Weights>

This structure appears in FANN >= 2.1.0

Summary
Functions
ConnectionCreates a connection with the specified parameters Parameters: fromNeuron - Unique number used to identify source neuron toNeuron - Unique number used to identify destination neuron weight - The numerical value of the weight Example:
DisposeDestructs the connection.
Properties
FromNeuronUnique number used to identify source neuron
ToNeuronUnique number used to identify destination neuron
WeightThe numerical value of the weight

Functions

Connection

public Connection(uint fromNeuron,
uint toNeuron,
float weight)

Creates a connection with the specified parameters Parameters: fromNeuron - Unique number used to identify source neuron toNeuron - Unique number used to identify destination neuron weight - The numerical value of the weight Example:

Connection connection(2, 7, 0.5);

Dispose

public void Dispose()

Destructs the connection.  Must be called manually.

Properties

FromNeuron

public uint FromNeuron { get, set }

Unique number used to identify source neuron

ToNeuron

public uint ToNeuron { get, set }

Unique number used to identify destination neuron

Weight

public float Weight { get, set }

The numerical value of the weight

public Connection(uint fromNeuron,
uint toNeuron,
float weight)
Creates a connection with the specified parameters Parameters: fromNeuron - Unique number used to identify source neuron toNeuron - Unique number used to identify destination neuron weight - The numerical value of the weight Example:
public void Dispose()
Destructs the connection.
public uint FromNeuron { get, set }
Unique number used to identify source neuron
public uint ToNeuron { get, set }
Unique number used to identify destination neuron
public float Weight { get, set }
The numerical value of the weight
Close