FANN C# Connection double

Summary
FANN C# Connection double
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.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

FANNCSharp.Double::NeuralNet::Connections, FANNCSharp.Double::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,
double 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 double Weight { get, set }

The numerical value of the weight

public Connection(uint fromNeuron,
uint toNeuron,
double 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 double Weight { get, set }
The numerical value of the weight
public Connection[] Connections { get }
Get the connections in the network.
public Connection[] Weights { set }
Set connections in the network.
Close