Bardo.AgentManager.SubstrateCEP (Bardo v0.1.0)
View SourceThe substrate polls the substrate_cpps (Substrate Coordinate PreProcessor), and then waits for the signals from the substrate_ceps (Substrate Connectivity Expression Producer) process, which tells it what the synaptic weight is between the two neurodes with which the substrate_cpps were called with, and whether the connection between these neurodes is expressed or not.
The substrate_cpp and substrate_cep processes are analogous to the sensors and actuators respectively, but driven and polled by the substrate when it wishes to calculate the synaptic weights and connectivity expression between its various neurodes.
The substrate will forward to its one or more substrate_cpps the coordinates of the two connected neurodes in question, the called substrate_cpp will process those coordinates based on its type and forward the processed vector to the NN. The substrate will then wait for the signals from its one or more substrate_ceps, which will provide it with the various signals which the substrate will then use to set its synaptic weights, connectivity expressions, or even plasticity based synaptic weight updates.
The substrate uses its substrate_cpps and substrate_ceps for every synaptic weight/expression it wishes to set or update. Unlike the sensors and actuators, the substrate_cpps and substrate_ceps do not need to sync up with the cortex because the substrate_cpps are not be triggered by the cortex, and because the signals from substrate_ceps are awaited by the substrate, and since the substrate itself only processes signals once it has received all the sensory signals from the sensors which themselves are triggered by the cortex, the whole system is synchronized.
Summary
Functions
The neurons in the output layer of the NN produce output signals, which are then sent to the CEPs they are connected to. The CEPs wait and gather the signals from all the neurons with whom they have presynaptic links. The CEPs process the accumulated signals. The CEPs forward the vector signals to the substrate.
Whenever a SubstrateCEP process is started via the start function this function is called by the new process to initialize.
Initializes the substrate_cep.
Receive and handle messages.
The substrate_cep process gathers the control signals from the neurons, appending them to the accumulator. The order in which the signals are accumulated into a vector is in the same order that the neuron ids are stored within NIds. Once all the signals have been gathered, the substrate_cep executes its function, forwards the processed signal to the substrate, and then again begins to wait for the neural signals from the output layer by reseting the FaninPids from the second copy of the list.
Spawns a SubstrateCEP process belonging to the exoself process that spawned it and calls init to initialize.
Terminates the SubstrateCEP.
This function is called to terminate the process. It performs any necessary cleaning up before exiting with the reason parameter that it was called with.
Functions
The neurons in the output layer of the NN produce output signals, which are then sent to the CEPs they are connected to. The CEPs wait and gather the signals from all the neurons with whom they have presynaptic links. The CEPs process the accumulated signals. The CEPs forward the vector signals to the substrate.
Whenever a SubstrateCEP process is started via the start function this function is called by the new process to initialize.
Initializes the substrate_cep.
Receive and handle messages.
The substrate_cep process gathers the control signals from the neurons, appending them to the accumulator. The order in which the signals are accumulated into a vector is in the same order that the neuron ids are stored within NIds. Once all the signals have been gathered, the substrate_cep executes its function, forwards the processed signal to the substrate, and then again begins to wait for the neural signals from the output layer by reseting the FaninPids from the second copy of the list.
Spawns a SubstrateCEP process belonging to the exoself process that spawned it and calls init to initialize.
Terminates the SubstrateCEP.
This function is called to terminate the process. It performs any necessary cleaning up before exiting with the reason parameter that it was called with.