C# Class SharpNeat.Network.AcyclicNetworkDepthAnalysis

An algorithm for analysing acyclic networks and calculating the depth of each node in the network. Bias and input nodes are defined as being at depth 0, the depth of all other nodes is defined as the maximum number of hops from the depth 0 nodes, so where multiple paths exist to a node (potentially with different numbers of hops) we take the maximum number of hops as that node's depth.
Exibir arquivo Open project: colgreen/sharpneat Class Usage Examples

Public Methods

Method Description
CalculateNodeDepths ( INetworkDefinition networkDef ) : NetworkDepthInfo

Calculate node depths in an acyclic network.

Private Methods

Method Description
TraverseNode ( NodeConnectivityData nodeData, int depth ) : void

Method Details

CalculateNodeDepths() public method

Calculate node depths in an acyclic network.
public CalculateNodeDepths ( INetworkDefinition networkDef ) : NetworkDepthInfo
networkDef INetworkDefinition
return NetworkDepthInfo