메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | System |
public GenerateConnections ( |
||
srcNodeSet | ||
tgtNodeSet | ||
리턴 | IEnumerable |
public GetConnectionCountHint ( |
||
srcNodeSet | ||
tgtNodeSet | ||
리턴 | int |