C# Class xpidea.neuro.net.NeuroLink

Connects two nodes in a network.
Inheritance: NeuroObject
Mostrar archivo Open project: AlexCherkasov/Neuro.NET Class Usage Examples

Protected Properties

Property Type Description
inNode NeuroNode
linkWeight double

Public Methods

Method Description
Load ( BinaryReader binaryReader ) : void

Overridden.Loads link data from a binary stream.

NeuroLink ( ) : System

Constructor.

Save ( BinaryWriter binaryWriter ) : void

Overridden.Stores link data in a binary stream.

SetInNode ( NeuroNode node ) : void

Setter for xpidea.neuro.net.NeuroLink.InNode property.

SetOutNode ( NeuroNode node ) : void

Setter for xpidea.neuro.net.NeuroLink.OutNode property.

UpdateWeight ( double deltaWeight ) : void

Updates weight of the link on specified delta.

WeightedInError ( ) : double

Weighted xpidea.neuro.net.NeuroLink.InNode error.

WeightedInValue ( ) : double

Weighted xpidea.neuro.net.NeuroLink.InNode value.

WeightedOutError ( ) : double

Weighted xpidea.neuro.net.NeuroLink.OutNode error.

WeightedOutValue ( ) : double

Weighted xpidea.neuro.net.NeuroLink.OutNode value.

Protected Methods

Method Description
GetLinkWeight ( ) : double

Getter of xpidea.neuro.net.NeuroLink.Weight property.

SetLinkWeight ( double value ) : void

Setter of xpidea.neuro.net.NeuroLink.Weight property.

Method Details

GetLinkWeight() protected method

Getter of xpidea.neuro.net.NeuroLink.Weight property.
protected GetLinkWeight ( ) : double
return double

Load() public method

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

NeuroLink() public method

Constructor.
public NeuroLink ( ) : System
return System

Save() public method

Overridden.Stores link data in a binary stream.
public Save ( BinaryWriter binaryWriter ) : void
binaryWriter System.IO.BinaryWriter Binary stream writer.
return void

SetInNode() public method

Setter for xpidea.neuro.net.NeuroLink.InNode property.
public SetInNode ( NeuroNode node ) : void
node NeuroNode Incomming (source) node.
return void

SetLinkWeight() protected method

Setter of xpidea.neuro.net.NeuroLink.Weight property.
protected SetLinkWeight ( double value ) : void
value double New link's weight value
return void

SetOutNode() public method

Setter for xpidea.neuro.net.NeuroLink.OutNode property.
public SetOutNode ( NeuroNode node ) : void
node NeuroNode Outgoing (destination) node.
return void

UpdateWeight() public method

Updates weight of the link on specified delta.
public UpdateWeight ( double deltaWeight ) : void
deltaWeight double Weight change value.
return void

WeightedInError() public method

Weighted xpidea.neuro.net.NeuroLink.InNode error.
public WeightedInError ( ) : double
return double

WeightedInValue() public method

Weighted xpidea.neuro.net.NeuroLink.InNode value.
public WeightedInValue ( ) : double
return double

WeightedOutError() public method

Weighted xpidea.neuro.net.NeuroLink.OutNode error.
public WeightedOutError ( ) : double
return double

WeightedOutValue() public method

Weighted xpidea.neuro.net.NeuroLink.OutNode value.
public WeightedOutValue ( ) : double
return double

Property Details

inNode protected_oe property

Refers to source and destination node connected by this link.
protected NeuroNode,xpidea.neuro.net inNode
return NeuroNode

linkWeight protected_oe property

Link weight.
protected double linkWeight
return double