C# Class SharpNeat.Decoders.HyperNeat.NodeSetMapping

Describes a mapping between nodesets. Packages an INodeSetMappingFunction with indexes into a list of node sets that identify the source and target nodesets for the mapping.
Afficher le fichier Open project: colgreen/sharpneat

Méthodes publiques

Méthode Description
Create ( int srcNodeSetIdx, int tgtNodeSetIdx, INodeSetMappingFunction mappingFn ) : NodeSetMapping

Creates a NodeSet from the provided source and target nodeset indexes and mapping function.

Create ( int srcNodeSetIdx, int tgtNodeSetIdx, double maximumConnectionDistance ) : NodeSetMapping

Creates a NodeSet from the provided source and target nodeset indexes and maximum connection distance for mappings/connections.

Create ( int srcNodeSetIdx, int tgtNodeSetIdx, double maximumConnectionDistance, bool allowLocalRecurrentConnections ) : NodeSetMapping

Creates a NodeSet from the provided source and target nodeset indexes, maximum connection distance for mappings/connections and a flag defining if local recurrent connections should be created when mapping between nodes in the same nodeset.

GenerateConnections ( List nodeSetList ) : IEnumerable

Generates the connections defined by the mapping.

GetConnectionCountHint ( List nodeSetList ) : int

Returns an estimate/hint for the number of connections that would be created by the mapping.

NodeSetMapping ( int srcNodeSetIdx, int tgtNodeSetIdx, INodeSetMappingFunction mappingFn ) : System.Collections.Generic

Constructs with the provided source and target nodeset indexes and mapping function to apply between those sets.

Method Details

Create() public static méthode

Creates a NodeSet from the provided source and target nodeset indexes and mapping function.
public static Create ( int srcNodeSetIdx, int tgtNodeSetIdx, INodeSetMappingFunction mappingFn ) : NodeSetMapping
srcNodeSetIdx int
tgtNodeSetIdx int
mappingFn INodeSetMappingFunction
Résultat NodeSetMapping

Create() public static méthode

Creates a NodeSet from the provided source and target nodeset indexes and maximum connection distance for mappings/connections.
public static Create ( int srcNodeSetIdx, int tgtNodeSetIdx, double maximumConnectionDistance ) : NodeSetMapping
srcNodeSetIdx int
tgtNodeSetIdx int
maximumConnectionDistance double
Résultat NodeSetMapping

Create() public static méthode

Creates a NodeSet from the provided source and target nodeset indexes, maximum connection distance for mappings/connections and a flag defining if local recurrent connections should be created when mapping between nodes in the same nodeset.
public static Create ( int srcNodeSetIdx, int tgtNodeSetIdx, double maximumConnectionDistance, bool allowLocalRecurrentConnections ) : NodeSetMapping
srcNodeSetIdx int
tgtNodeSetIdx int
maximumConnectionDistance double
allowLocalRecurrentConnections bool
Résultat NodeSetMapping

GenerateConnections() public méthode

Generates the connections defined by the mapping.
public GenerateConnections ( List nodeSetList ) : IEnumerable
nodeSetList List
Résultat IEnumerable

GetConnectionCountHint() public méthode

Returns an estimate/hint for the number of connections that would be created by the mapping.
public GetConnectionCountHint ( List nodeSetList ) : int
nodeSetList List
Résultat int

NodeSetMapping() public méthode

Constructs with the provided source and target nodeset indexes and mapping function to apply between those sets.
public NodeSetMapping ( int srcNodeSetIdx, int tgtNodeSetIdx, INodeSetMappingFunction mappingFn ) : System.Collections.Generic
srcNodeSetIdx int
tgtNodeSetIdx int
mappingFn INodeSetMappingFunction
Résultat System.Collections.Generic