C# Класс SharpNeat.Network.NetworkDefinition

Concrete implementation of INetworkDefinition. This class represents network definitions independently of any other requirements, e.g. a NeatGenome is also an INetworkDefinition but with additional baggage. This class is useful for representing network definitions, e.g. when creating a network instance from a HyperNEAT substrate.
Наследование: INetworkDefinition
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetConnectivityData ( ) : NetworkConnectivityData

Gets NetworkConnectivityData for the network.

NetworkDefinition ( int inputNodeCount, int outputNodeCount, IActivationFunctionLibrary activationFnLib, NodeList nodeList, ConnectionList connectionList ) : System.Collections.Generic

Constructs with the provided input/output node count, activation function library, node and connection lists.

NetworkDefinition ( int inputNodeCount, int outputNodeCount, IActivationFunctionLibrary activationFnLib, NodeList nodeList, ConnectionList connectionList, bool isAcyclic ) : System.Collections.Generic

Constructs with the provided input/output node count, activation function library, node and connection lists.

PerformIntegrityCheck ( ) : bool

Performs an integrity check on the network definition. Returns true if OK.

Описание методов

GetConnectivityData() публичный Метод

Gets NetworkConnectivityData for the network.
public GetConnectivityData ( ) : NetworkConnectivityData
Результат NetworkConnectivityData

NetworkDefinition() публичный Метод

Constructs with the provided input/output node count, activation function library, node and connection lists.
public NetworkDefinition ( int inputNodeCount, int outputNodeCount, IActivationFunctionLibrary activationFnLib, NodeList nodeList, ConnectionList connectionList ) : System.Collections.Generic
inputNodeCount int
outputNodeCount int
activationFnLib IActivationFunctionLibrary
nodeList NodeList
connectionList ConnectionList
Результат System.Collections.Generic

NetworkDefinition() публичный Метод

Constructs with the provided input/output node count, activation function library, node and connection lists.
public NetworkDefinition ( int inputNodeCount, int outputNodeCount, IActivationFunctionLibrary activationFnLib, NodeList nodeList, ConnectionList connectionList, bool isAcyclic ) : System.Collections.Generic
inputNodeCount int
outputNodeCount int
activationFnLib IActivationFunctionLibrary
nodeList NodeList
connectionList ConnectionList
isAcyclic bool
Результат System.Collections.Generic

PerformIntegrityCheck() публичный Метод

Performs an integrity check on the network definition. Returns true if OK.
public PerformIntegrityCheck ( ) : bool
Результат bool