C# Class xpidea.neuro.net.NeuroNode

Represents the Node in a neural network.
Inheritance: NeuroObject
显示文件 Open project: AlexCherkasov/Neuro.NET Class Usage Examples

Protected Properties

Property Type Description
nodeValue double

Public Methods

Method Description
Learn ( ) : void

Teaches the node.

LinkTo ( NeuroNode toNode, NeuroLink link ) : void

Connects this node to toNode using link link.

Load ( BinaryReader binaryReader ) : void

Overridden.Loads node data from a binary stream.

NeuroNode ( ) : System

Constructor.

Run ( ) : void

Executes node functionality.

Save ( BinaryWriter binaryWriter ) : void

Overridden.Stores node data into binary stream.

Protected Methods

Method Description
GetNodeError ( ) : double

Getter method of xpidea.neuro.net.NeuroNode.Error property.

GetNodeValue ( ) : double

Getter methos of xpidea.neuro.net.NeuroNode.Value property.

SetNodeError ( double error ) : void

Setter method of xpidea.neuro.net.NeuroNode.Error property.

SetNodeValue ( double value ) : void

Setter method of xpidea.neuro.net.NeuroNode.Value property.

Method Details

GetNodeError() protected method

Getter method of xpidea.neuro.net.NeuroNode.Error property.
protected GetNodeError ( ) : double
return double

GetNodeValue() protected method

Getter methos of xpidea.neuro.net.NeuroNode.Value property.
protected GetNodeValue ( ) : double
return double

Learn() public method

Teaches the node.
public Learn ( ) : void
return void

LinkTo() public method

Connects this node to toNode using link link.
public LinkTo ( NeuroNode toNode, NeuroLink link ) : void
toNode NeuroNode Destination node.
link NeuroLink Link used to connect nodes.
return void

Load() public method

Overridden.Loads node data from a binary stream.
public Load ( BinaryReader binaryReader ) : void
binaryReader System.IO.BinaryReader Binary stream reader.
return void

NeuroNode() public method

Constructor.
public NeuroNode ( ) : System
return System

Run() public method

Executes node functionality.
public Run ( ) : void
return void

Save() public method

Overridden.Stores node data into binary stream.
public Save ( BinaryWriter binaryWriter ) : void
binaryWriter System.IO.BinaryWriter Binary stream writer.
return void

SetNodeError() protected method

Setter method of xpidea.neuro.net.NeuroNode.Error property.
protected SetNodeError ( double error ) : void
error double Node error.
return void

SetNodeValue() protected method

Setter method of xpidea.neuro.net.NeuroNode.Value property.
protected SetNodeValue ( double value ) : void
value double New node value.
return void

Property Details

nodeValue protected_oe property

Node value and node error.
protected double nodeValue
return double