C# Class SharpNeat.Network.NetworkConnectivityData

Network connectivity data for a network. Connectivity data in a form that is convenient for network traversal algorithms.
Datei anzeigen Open project: colgreen/sharpneat Class Usage Examples

Public Methods

Method Description
GetNodeDataById ( uint id ) : NodeConnectivityData

Get the NodeConnectivityData for the node with the specified ID.

GetNodeDataByIndex ( int idx ) : NodeConnectivityData

Get the NodeConnectivityData for the node with the specified index in its host network definition.

NetworkConnectivityData ( NodeConnectivityData nodeConnectivityDataArr, NodeConnectivityData>.Dictionary nodeConnectivityDataById ) : System.Collections.Generic

Construct with the provided connectivity data.

Method Details

GetNodeDataById() public method

Get the NodeConnectivityData for the node with the specified ID.
public GetNodeDataById ( uint id ) : NodeConnectivityData
id uint
return NodeConnectivityData

GetNodeDataByIndex() public method

Get the NodeConnectivityData for the node with the specified index in its host network definition.
public GetNodeDataByIndex ( int idx ) : NodeConnectivityData
idx int
return NodeConnectivityData

NetworkConnectivityData() public method

Construct with the provided connectivity data.
public NetworkConnectivityData ( NodeConnectivityData nodeConnectivityDataArr, NodeConnectivityData>.Dictionary nodeConnectivityDataById ) : System.Collections.Generic
nodeConnectivityDataArr NodeConnectivityData
nodeConnectivityDataById NodeConnectivityData>.Dictionary
return System.Collections.Generic