File ANNformation Documentation

Automatically generated with Code Structure Viewer (CS), Project Version: 3o4d 17-November-2020

Copyright © 2020, BAI Research. All Rights Reserved.

File Name: ANNformation.cpp/.hpp

File Description: ANN formation

File Function List


File Diagram (functions hierarchy)


Function ANNformationClass::formNeuralNetworkInputLayer()

Function Summary
namereturn typedescription
formNeuralNetworkInputLayervoidform neural network input layer

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network
numberOfInputNeurons const int number of input neurons

Function Reference List


Function Trace
locationcurrent function being traced
ANNmain.hppformNeuralNetworkInputLayer

Trace Diagram (magenta)


Function ANNformationClass::formNeuralNetWithOptimisedProperties()

Function Summary
namereturn typedescription
formNeuralNetWithOptimisedPropertiesANNneuron*form neural net with optimised properties

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network
numberOfInputNeurons const int64_t number of input neurons
numberOfOutputNeurons int64_t number of output neurons
numberOfLayers const int64_t number of layers

Function Reference List


Function Trace
locationcurrent function being traced
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI

Trace Diagram (magenta)


Function ANNformationClass::formNeuralNet()

Function Summary
namereturn typedescription
formNeuralNetANNneuron*form neural net

Function Arguments
nametypedescription
firstInputNeuronANNneuron* first input neuron
numberOfInputNeurons const int64_t number of input neurons
numberOfOutputNeurons int64_t number of output neurons
numberOfLayers const int64_t number of layers
layerDivergenceType const int layer divergence type
meanLayerDivergenceFactor const double mean layer divergence factor
probabilityANNneuronConnectionWithPreviousLayerNeuron const double probability ANN neuron connection with previous layer neuron
probabilityANNneuronConnectionWithAllPreviousLayersNeurons const double probability ANN neuron connection with all previous layers neurons

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI

Trace Diagram (magenta)


Function ANNformationClass::formAdvancedNeuralNetwork()

Function Summary
namereturn typedescription
formAdvancedNeuralNetworkANNneuron*form advanced neural network

Function Arguments
nametypedescription
firstInputNeuronANNneuron* first input neuron
numberOfInputNeurons const int64_t number of input neurons
numberOfOutputNeurons int64_t number of output neurons
useSubnetDependentNumberOfLayers const bool use subnet dependent number of layers
probabilityOfSubnetCreation const double probability of subnet creation
maxNumberOfRecursiveSubnets const int64_t max number of recursive subnets
numberOfLayers const int64_t number of layers
layerDivergenceType const int layer divergence type
meanLayerDivergenceFactor const double mean layer divergence factor
probabilityANNneuronConnectionWithPreviousLayerNeuron const double probability ANN neuron connection with previous layer neuron
probabilityANNneuronConnectionWithAllPreviousLayersNeurons const double probability ANN neuron connection with all previous layers neurons

Function Reference List


Function Trace
locationcurrent function being traced
ANNmain.hppformAdvancedNeuralNetwork
ANNmain.hppcreateNetwork
ANNmain.hppmainUI

Trace Diagram (magenta)


Function ANNformationClass::formNonDistinctLayeredNeuralNetwork()

Function Summary
namereturn typedescription
formNonDistinctLayeredNeuralNetworkANNneuron*form non distinct layered neural network

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network
numberOfInputNeurons const int64_t number of input neurons
numberOfOutputNeurons int64_t number of output neurons
numberOfLayers const int64_t number of layers
probabilityOfSubnetCreation const double probability of subnet creation
maxNumberOfRecursiveSubnets const int64_t max number of recursive subnets
useSubnetDependentNumberOfLayers const bool use subnet dependent number of layers
subnetNumberOfLayersModifier const double subnet number of layers modifier
layerDivergenceType const int layer divergence type
meanLayerDivergenceFactor const double mean layer divergence factor
probabilityANNneuronConnectionWithPreviousLayerNeuron const double probability ANN neuron connection with previous layer neuron
probabilityANNneuronConnectionWithAllPreviousLayersNeurons const double probability ANN neuron connection with all previous layers neurons

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork

Trace Diagram (magenta)


Function ANNformationClass::createInputLayerInNeuralNetwork()

Function Summary
namereturn typedescription
createInputLayerInNeuralNetworkvoidcreate input layer in neural network

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network
numberOfInputNeurons const int64_t number of input neurons

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppcreateInputLayerInNeuralNetwork
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork

Trace Diagram (magenta)


Function ANNformationClass::createInputLayerInNeuralNetwork2D()

Function Summary
namereturn typedescription
createInputLayerInNeuralNetwork2Dvoidcreate input layer in neural network 2D

Function Arguments
nametypedescription
firstInputNeuronInNetworkANNneuron* first input neuron in network
numberOfInputNeurons const int64_t number of input neurons

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppcreateInputLayerInNeuralNetwork2D
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork

Trace Diagram (magenta)


Function ANNformationClass::fillNonDistinctHiddenLayer()

Function Summary
namereturn typedescription
fillNonDistinctHiddenLayerANNneuron*fill non distinct hidden layer

Function Arguments
nametypedescription
firstNeuronInCurrentLayerANNneuron* first neuron in current layer
numberOfInputNeurons const int64_t number of input neurons
numberOfOutputNeurons int64_t number of output neurons
numberOfNeuronsInCurrentLayer const int64_t number of neurons in current layer
currentNumberOfLayers const int64_t current number of layers
numberOfLayers const int64_t number of layers
probabilityOfSubnetCreation const double probability of subnet creation
maxNumberOfRecursiveSubnets const int64_t max number of recursive subnets
currentNumberOfRecursiveSubnets const int64_t current number of recursive subnets
useSubnetDependentNumberOfLayers const bool use subnet dependent number of layers
subnetNumberOfLayersModifier const double subnet number of layers modifier
layerDivergenceType const int layer divergence type
meanLayerDivergenceFactor const double mean layer divergence factor
probabilityANNneuronConnectionWithPreviousLayerNeuron const double probability ANN neuron connection with previous layer neuron
firstInputNeuronInSubnet ANNneuron* first input neuron in subnet
probabilityANNneuronConnectionWithAllPreviousLayersNeurons const double probability ANN neuron connection with all previous layers neurons
onlyLinkWithPreviousAndFirstLayer const bool only link with previous and first layer

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::createNewFrontLayer()

Function Summary
namereturn typedescription
createNewFrontLayervoidcreate new front layer

Function Arguments
nametypedescription
firstNeuronInCurrentLayerANNneuron* first neuron in current layer
firstNeuronInNewFrontLayer ANNneuron* first neuron in new front layer
numberOfNeuronsInNewFrontLayer const int64_t number of neurons in new front layer
currentNumberOfLayers const int64_t current number of layers
numberOfLayers const int64_t number of layers

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppcreateNewFrontLayer
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::linkNewFrontLayerWithPreviousLayers()

Function Summary
namereturn typedescription
linkNewFrontLayerWithPreviousLayersvoidlink new front layer with previous layers

Function Arguments
nametypedescription
firstNeuronInCurrentLayerANNneuron* first neuron in current layer
firstNeuronInNewFrontLayer ANNneuron* first neuron in new front layer
probabilityANNneuronConnectionWithPreviousLayerNeuron const double probability ANN neuron connection with previous layer neuron
firstInputNeuronInSubnet ANNneuron* first input neuron in subnet
probabilityANNneuronConnectionWithAllPreviousLayersNeurons const double probability ANN neuron connection with all previous layers neurons
numberOfInputNeurons const int64_t number of input neurons
numberOfOutputNeurons const int64_t number of output neurons
currentNumberOfLayers const int64_t current number of layers
onlyLinkWithPreviousAndFirstLayer const bool only link with previous and first layer

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hpplinkNewFrontLayerWithPreviousLayers
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::linkNewFrontLayerWithPreviousLayers2D()

Function Summary
namereturn typedescription
linkNewFrontLayerWithPreviousLayers2Dvoidlink new front layer with previous layers 2D

Function Arguments
nametypedescription
firstNeuronInCurrentLayerANNneuron* first neuron in current layer
firstNeuronInNewFrontLayer ANNneuron* first neuron in new front layer
probabilityANNneuronConnectionWithPreviousLayerNeuron const double probability ANN neuron connection with previous layer neuron
firstInputNeuronInSubnet ANNneuron* first input neuron in subnet
probabilityANNneuronConnectionWithAllPreviousLayersNeurons const double probability ANN neuron connection with all previous layers neurons
numberOfInputNeurons const int64_t number of input neurons
numberOfOutputNeurons const int64_t number of output neurons
currentNumberOfLayers const int64_t current number of layers
numberOfLayers const int64_t number of layers
numberOfNeuronsInCurrentLayer const int64_t number of neurons in current layer
numberOfNeuronsInNewFrontLayer const int64_t number of neurons in new front layer
layerDivergenceType const int layer divergence type
onlyLinkWithPreviousAndFirstLayer const bool only link with previous and first layer

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hpplinkNewFrontLayerWithPreviousLayers2D
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::calcNumberOfLayersInSubnet()

Function Summary
namereturn typedescription
calcNumberOfLayersInSubnetint64_tcalc number of layers in subnet

Function Arguments
nametypedescription
numberOfInputNeuronsconst int64_t number of input neurons
numberOfOutputNeurons const int64_t number of output neurons
currentNumberOfRecursiveSubnets const int64_t current number of recursive subnets
maxNumberOfRecursiveSubnets const int64_t max number of recursive subnets
useSubnetDependentNumberOfLayers const bool use subnet dependent number of layers
subnetNumberOfLayersModifier const double subnet number of layers modifier

Function Reference List
N/A


Function Trace
locationcurrent function being traced
ANNformation.hppcalcNumberOfLayersInSubnet
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::advancedDivergenceFactor()

Function Summary
namereturn typedescription
advancedDivergenceFactordoubleadvanced divergence factor

Function Arguments
nametypedescription
currentNumberOfLayersFromNearestEndPointconst int64_t current number of layers from nearest end point
numberOfLayers const int64_t number of layers

Function Reference List
N/A


Function Trace
locationcurrent function being traced
ANNformation.hppadvancedDivergenceFactor
ANNformation.hppcalculateNumberOfNeuronsInNewFrontLayer
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::calculateNumberOfNeuronsInNewFrontLayer()

Function Summary
namereturn typedescription
calculateNumberOfNeuronsInNewFrontLayerint64_tcalculate number of neurons in new front layer

Function Arguments
nametypedescription
numberOfInputNeuronsconst int64_t number of input neurons
numberOfOutputNeurons int64_t number of output neurons
numberOfNeuronsInCurrentLayer const int64_t number of neurons in current layer
currentNumberOfLayers const int64_t current number of layers
numberOfLayers const int64_t number of layers
meanLayerDivergenceFactor const double mean layer divergence factor
layerDivergenceType const int layer divergence type

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppcalculateNumberOfNeuronsInNewFrontLayer
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::calculateDistanceBetween2Points()

Function Summary
namereturn typedescription
calculateDistanceBetween2Pointsdoublecalculate distance between 2P oints

Function Arguments
nametypedescription
xPositionOfUnit1const double xPosition of unit 1
xPositionOfUnit2 const double xPosition of unit 2
yPositionOfUnit1 const double yPosition of unit 1
yPositionOfUnit2 const double yPosition of unit 2

Function Reference List
N/A


Function Trace
locationcurrent function being traced
ANNformation.hppcalculateDistanceBetween2Points
ANNformation.hpplinkNewFrontLayerWithPreviousLayers2D
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway
ANNformation.hppcalculateDistanceBetween2Points

Trace Diagram (magenta)


Function ANNformationClass::addSideConnectionsForLayer()

Function Summary
namereturn typedescription
addSideConnectionsForLayervoidadd side connections for layer

Function Arguments
nametypedescription
firstNeuronInLayerANNneuron* first neuron in layer

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppaddSideConnectionsForLayer
ANNformation.hpplinkNewFrontLayerWithPreviousLayers
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::addSideConnectionsForLayer2D()

Function Summary
namereturn typedescription
addSideConnectionsForLayer2Dvoidadd side connections for layer 2D

Function Arguments
nametypedescription
firstNeuronInLayerANNneuron* first neuron in layer
layerDivergenceType const int layer divergence type
currentNumberOfLayers const int64_t current number of layers
numberOfLayers const int64_t number of layers

Function Reference List


Function Trace
locationcurrent function being traced
ANNformation.hppaddSideConnectionsForLayer2D
ANNformation.hpplinkNewFrontLayerWithPreviousLayers2D
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway

Trace Diagram (magenta)


Function ANNformationClass::addSideConnectionIfNotAlreadyAdded()

Function Summary
namereturn typedescription
addSideConnectionIfNotAlreadyAddedvoidadd side connection if not already added

Function Arguments
nametypedescription
currentNeuronL1ANNneuron* current neuron L1
currentNeuronL2 ANNneuron* current neuron L2

Function Reference List
N/A


Function Trace
locationcurrent function being traced
ANNformation.hppaddSideConnectionIfNotAlreadyAdded
ANNformation.hppaddSideConnectionsForLayer
ANNformation.hpplinkNewFrontLayerWithPreviousLayers
ANNformation.hppfillNonDistinctHiddenLayer
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNformation.hppformNeuralNet
ANNmain.hppformNeuralNetWithOptimisedProperties
ANNmain.hppcreateNetwork
ANNmain.hppmainUI
ANNformation.hppformNonDistinctLayeredNeuralNetwork
ANNalgorithmBreakawayNetwork.hppfillNonDistinctHiddenLayer
ANNmain.hpptrainNeuralNetworkBreakaway
ANNformation.hppaddSideConnectionIfNotAlreadyAdded
ANNformation.hppaddSideConnectionsForLayer2D

Trace Diagram (magenta)


Function ANNformationClass::countNumberOfLayersInSubnet()

Function Summary
namereturn typedescription
countNumberOfLayersInSubnetintcount number of layers in subnet

Function Arguments
nametypedescription
firstInputNeuronInSubnetANNneuron* first input neuron in subnet

Function Reference List
N/A


Function Trace
locationcurrent function being traced
ANNmain.hppcountNumberOfLayersInSubnet
ANNmain.hpptrainNetwork
ANNmain.hppmainUI

Trace Diagram (magenta)