Метод | Описание | |
---|---|---|
CreateNetworkDefinition ( IBlackBox blackbox, bool lengthCppnInput ) : INetworkDefinition |
Create a network definition by querying the provided IBlackBox (typically a CPPN) with the substrate connection endpoints.
|
|
Substrate ( List |
Constructs with the provided substrate nodesets and mappings that describe how the nodesets are to be connected up.
|
|
Substrate ( List |
Construct a substrate with the provided node sets and a predetermined set of connections.
|
Метод | Описание | |
---|---|---|
CalcBiasConnectionCountHint ( List |
Calculate the maximum number of possible bias connections. Input nodes don't have a bias therefore this value is the number of hidden and output nodes.
|
|
CalculateConnectionLength ( double a ) : double |
Calculates the euclidean distance between a point and the origin.
|
|
CalculateConnectionLength ( double a, double b ) : double |
Calculates the euclidean distance between two points in N dimensional space.
|
|
CreateNetworkNodeList ( ) : NodeList |
Pre-build the network node list used for constructing new networks 'grown' on the substrate. This can be pre-built because the set of nodes remains the same for each network instantiation, only the connections differ between instantiations.
|
|
GetConnectionSequence ( ) : IEnumerable |
||
VaildateSubstrateNodes ( List |
public CreateNetworkDefinition ( IBlackBox blackbox, bool lengthCppnInput ) : INetworkDefinition | ||
blackbox | IBlackBox | The HyperNEAT CPPN that defines the strength of connections between nodes on the substrate. |
lengthCppnInput | bool | Optionally we provide a connection length input to the CPPN. |
Результат | INetworkDefinition |
public Substrate ( List |
||
nodeSetList | List |
Substrate nodes, represented as distinct sets of nodes. By convention the first and second /// sets in the list represent the input and output noes respectively. All other sets represent hidden nodes. |
activationFnLibrary | IActivationFunctionLibrary | The activation function library allocated to the networks that are 'grown' from the substrate. |
activationFnId | int | The ID of an activation function in activationFnLibrary. This is the activation function /// ID assigned to all nodes in networks that are 'grown' from the substrate. |
weightThreshold | double | The weight threshold below which substrate connections are not created in grown networks. |
maxWeight | double | Defines the weight range of grown connections (+-maxWeight). |
nodeSetMappingList | List |
A list of mappings between node sets that defines what connections to create between substrate nodes. |
Результат | System |
public Substrate ( List |
||
nodeSetList | List |
Substrate nodes, represented as distinct sets of nodes. By convention the first and second /// sets in the list represent the input and output noes respectively. All other sets represent hidden nodes. |
activationFnLibrary | IActivationFunctionLibrary | The activation function library allocated to the networks that are 'grown' from the substrate. |
activationFnId | int | The ID of an activation function in activationFnLibrary. This is the activation function /// ID assigned to all nodes in networks that are 'grown' from the substrate. |
weightThreshold | double | The weight threshold below which substrate connections are not created in grown networks. |
maxWeight | double | Defines the weight range of grown connections (+-maxWeight). |
connectionList | List |
A predetermined list of substrate connections. |
Результат | System |