FANN C# Connection int

Summary
FANN C# Connection int
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.Fixed.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,
int 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, 1);

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 int Weight { get, set }

The numerical value of the weight

public Connection(uint fromNeuron,
uint toNeuron,
int 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 int 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