C# Class SharpNeat.Network.NodeConnectivityData

Stored the IDs of nodes that connect in and out of a given node.
Show file Open project: colgreen/sharpneat Class Usage Examples

Public Properties

Property Type Description
_id uint
_srcNodes HashSet
_tgtNodes HashSet

Public Methods

Method Description
NodeConnectivityData ( uint id ) : System.Collections.Generic

Construct with empty source/target node sets.

NodeConnectivityData ( uint id, HashSet srcNodes, HashSet tgtNodes ) : System.Collections.Generic

Construct with the provided source/target node sets.

Method Details

NodeConnectivityData() public method

Construct with empty source/target node sets.
public NodeConnectivityData ( uint id ) : System.Collections.Generic
id uint
return System.Collections.Generic

NodeConnectivityData() public method

Construct with the provided source/target node sets.
public NodeConnectivityData ( uint id, HashSet srcNodes, HashSet tgtNodes ) : System.Collections.Generic
id uint
srcNodes HashSet
tgtNodes HashSet
return System.Collections.Generic

Property Details

_id public property

Node ID.
public uint _id
return uint

_srcNodes public property

A set of node IDs representing nodes that connect in to a given node.
public HashSet _srcNodes
return HashSet

_tgtNodes public property

A set of node IDs representing nodes that a given node connects out to.
public HashSet _tgtNodes
return HashSet