FANN C# Connection int | |
Connection | Describes a connection between two neurons and its weight |
Functions | |
Connection | 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: |
Dispose | Destructs the connection. |
Properties | |
FromNeuron | Unique number used to identify source neuron |
ToNeuron | Unique number used to identify destination neuron |
Weight | The numerical value of the weight |
IDisposable |
FANNCSharp.Fixed.Connection |
Describes a connection between two neurons and its weight
FromNeuron | Unique number used to identify source neuron |
ToNeuron | Unique number used to identify destination neuron |
Weight | The numerical value of the weight |
NeuralNet::Connections, NeuralNet::Weights
This structure appears in FANN >= 2.1.0
Functions | |
Connection | 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: |
Dispose | Destructs the connection. |
Properties | |
FromNeuron | Unique number used to identify source neuron |
ToNeuron | Unique number used to identify destination neuron |
Weight | 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:
Connection connection(2, 7, 1);
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 Connection( uint fromNeuron, uint toNeuron, int weight )
Destructs the connection.
public void Dispose()
Unique number used to identify source neuron
public uint FromNeuron { get, set }
Unique number used to identify destination neuron
public uint ToNeuron { get, set }
The numerical value of the weight
public int Weight { get, set }
Get the connections in the network.
public Connection[] Connections { get }
Set connections in the network.
public Connection[] Weights { set }