C# Class SharpNeat.Network.NetworkConnectivityData

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

Méthodes publiques

Méthode 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 méthode

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

GetNodeDataByIndex() public méthode

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

NetworkConnectivityData() public méthode

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