File GIAneuralNetworkNonSemantic Documentation

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

Copyright © 2020, BAI Research. All Rights Reserved.

File Name: GIAneuralNetworkNonSemantic.cpp/.hpp

File Description: GIA neural network non semantic

File Function List


File Diagram (functions hierarchy)


Function GIAneuralNetworkNonSemanticClass::addTextToNetwork()

Function Summary
namereturn typedescription
addTextToNetworkbooladd text to network

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables

Function Reference List


Function Trace
locationcurrent function being traced
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::addTextToNetworkLogicReference()

Function Summary
namereturn typedescription
addTextToNetworkLogicReferencebooladd text to network logic reference

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
firstLogicReferenceInList GIAposRelTranslatorHybridLogicReference* first logic reference in list
higherLogicReferenceArtificialSynapseNeuron ANNneuron* higher logic reference artificial synapse neuron
higherLogicReferenceArtificialSynapseNeuronDirection const bool higher logic reference artificial synapse neuron direction

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::replaceWordsWithLemmas()

Function Summary
namereturn typedescription
replaceWordsWithLemmasboolreplace words with lemmas

Function Arguments
nametypedescription
referenceSetconst LRPpreprocessorSubReferenceSet* reference set

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppreplaceWordsWithLemmas
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::detectIndefiniteConceptDefinition()

Function Summary
namereturn typedescription
detectIndefiniteConceptDefinitionbooldetect indefinite concept definition

Function Arguments
nametypedescription
referenceSetSubjectLRPpreprocessorSubReferenceSet* reference set subject
referenceSetObject LRPpreprocessorSubReferenceSet* reference set object
referenceSetDelimiter LRPpreprocessorSubReferenceSet* reference set delimiter

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppdetectIndefiniteConceptDefinition
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::identifyAndDemarcateConceptsInReferenceSet()

Function Summary
namereturn typedescription
identifyAndDemarcateConceptsInReferenceSetboolidentify and demarcate concepts in reference set

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
currentSubReferenceSetInList LRPpreprocessorSubReferenceSet* current sub reference set in list
referenceSetType const int reference set type
indefiniteConceptDefinitionFound const bool indefinite concept definition found
foundConcept bool* found concept
conceptNeuronFound ANNneuron** concept neuron found

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppidentifyAndDemarcateConceptsInReferenceSet
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::detectIfWordIsConcept()

Function Summary
namereturn typedescription
detectIfWordIsConceptbooldetect if word is concept

Function Arguments
nametypedescription
subReferenceSetContentsvector<LRPpreprocessorPlainTextWord*>* sub reference set contents
wordIndex int word index
specificConceptDetected bool* specific concept detected
indexOfStartOfSpecificConcept int* index of start of specific concept
indefiniteConceptDefinitionFound const bool indefinite concept definition found

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppdetectIfWordIsConcept
GIAneuralNetworkNonSemantic.hppidentifyAndDemarcateConceptsInReferenceSet
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::detectIfWordIsDeterminer()

Function Summary
namereturn typedescription
detectIfWordIsDeterminerbooldetect if word is determiner

Function Arguments
nametypedescription
wordconst string word

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppdetectIfWordIsDeterminer
GIAneuralNetworkNonSemantic.hppdetectIfWordIsConcept
GIAneuralNetworkNonSemantic.hppidentifyAndDemarcateConceptsInReferenceSet
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::findIndexOfStartOfSpecificConcept()

Function Summary
namereturn typedescription
findIndexOfStartOfSpecificConceptboolfind index of start of specific concept

Function Arguments
nametypedescription
subReferenceSetContentsconst vector<LRPpreprocessorPlainTextWord*>* sub reference set contents
startIndexToSearch const int start index to search
indexOfStartOfSpecificConcept int* index of start of specific concept

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppfindIndexOfStartOfSpecificConcept
GIAneuralNetworkNonSemantic.hppdetectIfWordIsConcept
GIAneuralNetworkNonSemantic.hppidentifyAndDemarcateConceptsInReferenceSet
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::findOrAddReferenceSetInNetwork()

Function Summary
namereturn typedescription
findOrAddReferenceSetInNetworkboolfind or add reference set in network

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
firstSubReferenceSetInList LRPpreprocessorSubReferenceSet* first sub reference set in list
referenceSetSubnetEntry ANNneuron** reference set subnet entry
referenceSetDelimiterSubnetEntry ANNneuron* reference set delimiter subnet entry
referenceSetType const int reference set type

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::calculateNumberActiveConceptNeuronsInSubnet()

Function Summary
namereturn typedescription
calculateNumberActiveConceptNeuronsInSubnetvoidcalculate number active concept neurons in subnet

Function Arguments
nametypedescription
currentNeuronConnectionInInstanceSubnetANNneuronConnection* current neuron connection in instance subnet
numberOfActiveConceptNeuronsInSubnet int* number of active concept neurons in subnet
activationAgeOfSubnetSynapsesTotal int64_t* activation age of subnet synapses total

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppcalculateNumberActiveConceptNeuronsInSubnet
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::calculateNumberActiveConceptNeuronsInSubnetReset()

Function Summary
namereturn typedescription
calculateNumberActiveConceptNeuronsInSubnetResetvoidcalculate number active concept neurons in subnet reset

Function Arguments
nametypedescription
currentNeuronConnectionInInstanceSubnetANNneuronConnection* current neuron connection in instance subnet

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppcalculateNumberActiveConceptNeuronsInSubnetReset
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::calculateNumberActiveConceptNeuronsInSubnetUpdateActivationAge()

Function Summary
namereturn typedescription
calculateNumberActiveConceptNeuronsInSubnetUpdateActivationAgevoidcalculate number active concept neurons in subnet update activation age

Function Arguments
nametypedescription
currentNeuronConnectionInInstanceSubnetANNneuronConnection* current neuron connection in instance subnet

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppcalculateNumberActiveConceptNeuronsInSubnetUpdateActivationAge
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::calculateNumberActiveConceptNeuronsInSubnet()

Function Summary
namereturn typedescription
calculateNumberActiveConceptNeuronsInSubnetvoidcalculate number active concept neurons in subnet

Function Arguments
nametypedescription
currentNeuronConnectionInInstanceSubnetANNneuronConnection* current neuron connection in instance subnet
direction const bool direction
numberOfActiveConceptNeuronsInSubnet int* number of active concept neurons in subnet
activationAgeOfSubnetSynapsesTotal int64_t* activation age of subnet synapses total
reset const bool reset
updateActivationAge const bool update activation age

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppcalculateNumberActiveConceptNeuronsInSubnet
GIAneuralNetworkNonSemantic.hppcalculateNumberActiveConceptNeuronsInSubnet
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork
GIAneuralNetworkNonSemantic.hppcalculateNumberActiveConceptNeuronsInSubnet
GIAneuralNetworkNonSemantic.hppcalculateNumberActiveConceptNeuronsInSubnet

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::addReferenceSetInNetwork()

Function Summary
namereturn typedescription
addReferenceSetInNetworkbooladd reference set in network

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
firstSubReferenceSetInList const LRPpreprocessorSubReferenceSet* first sub reference set in list
referenceSetSubnetEntry ANNneuron** reference set subnet entry
referenceSetDelimiterSubnetEntry ANNneuron* reference set delimiter subnet entry
referenceSetType const int reference set type

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppaddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::createDelimiterArtificialSynapseNeuron()

Function Summary
namereturn typedescription
createDelimiterArtificialSynapseNeuronboolcreate delimiter artificial synapse neuron

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
referenceSetDelimiterSubnetEntry ANNneuron** reference set delimiter subnet entry
referenceSetDelimiter LRPpreprocessorSubReferenceSet* reference set delimiter

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppcreateDelimiterArtificialSynapseNeuron
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork
GIAneuralNetworkNonSemantic.hppcreateDelimiterArtificialSynapseNeuron

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::connectReferenceSetsInNetwork()

Function Summary
namereturn typedescription
connectReferenceSetsInNetworkboolconnect reference sets in network

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
referenceSetSubjectSubnetEntry ANNneuron* reference set subject subnet entry
referenceSetObjectSubnetEntry ANNneuron* reference set object subnet entry
referenceSetDelimiterSubnetEntry ANNneuron** reference set delimiter subnet entry
referenceSetDelimiter LRPpreprocessorSubReferenceSet* reference set delimiter

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppconnectReferenceSetsInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::findOrAddConceptAndConnectNewSynapseArtificialInstanceNeuron()

Function Summary
namereturn typedescription
findOrAddConceptAndConnectNewSynapseArtificialInstanceNeuronANNneuron*find or add concept and connect new synapse artificial instance neuron

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables
wordTag const LRPpreprocessorPlainTextWord* word tag

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppfindOrAddConceptAndConnectNewSynapseArtificialInstanceNeuron
GIAneuralNetworkNonSemantic.hppaddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork
GIAneuralNetworkNonSemantic.hppfindOrAddConceptAndConnectNewSynapseArtificialInstanceNeuron
GIAneuralNetworkNonSemantic.hppcreateDelimiterArtificialSynapseNeuron

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::performQuery()

Function Summary
namereturn typedescription
performQueryboolperform query

Function Arguments
nametypedescription
translatorVariablesconst GIAtranslatorVariablesClass* translator variables
translatorVariablesQuery const GIAtranslatorVariablesClass* translator variables query

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAmain.hppperformQuery

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::determineReferenceSetDefinite()

Function Summary
namereturn typedescription
determineReferenceSetDefinitebooldetermine reference set definite

Function Arguments
nametypedescription
firstSubReferenceSetInListLRPpreprocessorSubReferenceSet* first sub reference set in list

Function Reference List


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppdetermineReferenceSetDefinite
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::getDelimiterWord()

Function Summary
namereturn typedescription
getDelimiterWordLRPpreprocessorPlainTextWord*get delimiter word

Function Arguments
nametypedescription
referenceSetDelimiterconst LRPpreprocessorSubReferenceSet* reference set delimiter

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppgetDelimiterWord
GIAneuralNetworkNonSemantic.hppaddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork
GIAneuralNetworkNonSemantic.hppgetDelimiterWord
GIAneuralNetworkNonSemantic.hppcreateDelimiterArtificialSynapseNeuron

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::getLogicReferenceWord()

Function Summary
namereturn typedescription
getLogicReferenceWordLRPpreprocessorPlainTextWord*get logic reference word

Function Arguments
nametypedescription
logicReferenceconst GIAposRelTranslatorHybridLogicReference* logic reference

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppgetLogicReferenceWord
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork

Trace Diagram (magenta)


Function GIAneuralNetworkNonSemanticClass::generateArtificialLayer()

Function Summary
namereturn typedescription
generateArtificialLayerintgenerate artificial layer

Function Arguments
nametypedescription
neuralNetworkVariablesconst GIAneuralNetworkVariablesClass* neural network variables

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAneuralNetworkNonSemantic.hppgenerateArtificialLayer
GIAneuralNetworkNonSemantic.hppfindOrAddConceptAndConnectNewSynapseArtificialInstanceNeuron
GIAneuralNetworkNonSemantic.hppaddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppfindOrAddReferenceSetInNetwork
GIAneuralNetworkNonSemantic.hppaddTextToNetworkLogicReference
GIAmain.hppaddTextToNetwork
GIAneuralNetworkNonSemantic.hppfindOrAddConceptAndConnectNewSynapseArtificialInstanceNeuron
GIAneuralNetworkNonSemantic.hppcreateDelimiterArtificialSynapseNeuron

Trace Diagram (magenta)