Dynamic Neural Field Composer 0.0.0
A C++20 library and interactive application for building and simulating Dynamic Neural Field (DNF) architectures.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
dnf_composer::element::NeuralFieldState Struct Reference

Snapshot of a neural field's observable state. More...

#include <neural_field.h>

Collaboration diagram for dnf_composer::element::NeuralFieldState:

Public Member Functions

 NeuralFieldState ()
 
void print () const
 
std::string toString () const
 

Public Attributes

std::vector< NeuralFieldBumpbumps
 Currently active above-threshold peaks.
 
double highestActivation
 Maximum activation across the field.
 
double lowestActivation
 Minimum activation across the field.
 
double previousActivationAvg = 0.0
 Activation average at the previous step — used to detect convergence.
 
double previousActivationNorm = 0.0
 L2 norm of activation at the previous step — used to detect convergence.
 
double previousActivationSum = 0.0
 Activation sum at the previous step — used to detect convergence.
 
bool stable
 True when the activation change falls below the stability threshold.
 
double thresholdForStability
 Convergence criterion (default 0.895).
 

Detailed Description

Snapshot of a neural field's observable state.

Constructor & Destructor Documentation

◆ NeuralFieldState()

dnf_composer::element::NeuralFieldState::NeuralFieldState ( )
inline

Member Function Documentation

◆ print()

void dnf_composer::element::NeuralFieldState::print ( ) const
Here is the call graph for this function:

◆ toString()

std::string dnf_composer::element::NeuralFieldState::toString ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ bumps

std::vector<NeuralFieldBump> dnf_composer::element::NeuralFieldState::bumps

Currently active above-threshold peaks.

◆ highestActivation

double dnf_composer::element::NeuralFieldState::highestActivation

Maximum activation across the field.

◆ lowestActivation

double dnf_composer::element::NeuralFieldState::lowestActivation

Minimum activation across the field.

◆ previousActivationAvg

double dnf_composer::element::NeuralFieldState::previousActivationAvg = 0.0

Activation average at the previous step — used to detect convergence.

◆ previousActivationNorm

double dnf_composer::element::NeuralFieldState::previousActivationNorm = 0.0

L2 norm of activation at the previous step — used to detect convergence.

◆ previousActivationSum

double dnf_composer::element::NeuralFieldState::previousActivationSum = 0.0

Activation sum at the previous step — used to detect convergence.

◆ stable

bool dnf_composer::element::NeuralFieldState::stable

True when the activation change falls below the stability threshold.

◆ thresholdForStability

double dnf_composer::element::NeuralFieldState::thresholdForStability

Convergence criterion (default 0.895).


The documentation for this struct was generated from the following files: