Method | Description | |
---|---|---|
DefaultNodeSetMappingFunction ( double maximumConnectionDistance, bool allowLocalRecurrentConnections ) : System |
Construct with the specified maximum connection distance (optional/nullable) and flag indicating if local recurrent connections should be generated when generating connections within a single node set (same source and target nodeset).
|
|
GenerateConnections ( |
Returns an IEnumerable that yields the mappings/connections defined by the mapping function (from the source nodes to the target nodes) as a sequence. The alternative of returning a list would require a very long list in extreme scenarios; this approach minimizes down memory usage.
|
|
GetConnectionCountHint ( |
Returns an estimate/hint for the number of connections that would be created between the provided source and target node sets.
|
Method | Description | |
---|---|---|
CalcDistanceSquared ( double srcPos, double tgtPos ) : double |
Calculate the Euclidean distance between two points in n-dimensions.
|
|
TestNodePair_MaxDistance ( |
||
TestNodePair_NullTest ( |
public DefaultNodeSetMappingFunction ( double maximumConnectionDistance, bool allowLocalRecurrentConnections ) : System | ||
maximumConnectionDistance | double | |
allowLocalRecurrentConnections | bool | |
return | System |
public GenerateConnections ( |
||
srcNodeSet | ||
tgtNodeSet | ||
return | IEnumerable |
public GetConnectionCountHint ( |
||
srcNodeSet | ||
tgtNodeSet | ||
return | int |