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
Classes | Enumerations | Functions | Variables
dnf_composer::element Namespace Reference

Classes

struct  AbsSigmoidFunction
 Rational (absolute-value) sigmoid — cedar's default activation function. More...
 
struct  ActivationFunction
 Abstract base for activation functions applied to a neural field. More...
 
class  AsymmetricGaussKernel
 Spatially shifted Gaussian kernel that induces directional peak drift. More...
 
class  AsymmetricGaussKernel2D
 2D asymmetric Gaussian kernel that induces directional peak drift. More...
 
struct  AsymmetricGaussKernel2DParameters
 Parameters for AsymmetricGaussKernel2D. More...
 
struct  AsymmetricGaussKernelParameters
 Parameters for an asymmetric (shifted) Gaussian convolution kernel. More...
 
class  BoostStimulus
 Spatially uniform (homogeneous) input stimulus. More...
 
class  BoostStimulus2D
 Spatially uniform constant stimulus for 2D neural fields. More...
 
struct  BoostStimulus2DParameters
 
struct  BoostStimulusParameters
 Parameters for a spatially homogeneous boost stimulus. More...
 
class  Collapse
 Collapses a 2D input field to a 1D output by reducing along one axis. More...
 
struct  CollapseParameters
 Parameters for a Collapse (2D -> 1D) element. More...
 
class  CorrelatedNormalNoise
 Spatially correlated Gaussian noise source — cedar-compatible. More...
 
class  CorrelatedNormalNoise2D
 
struct  CorrelatedNormalNoise2DParameters
 
struct  CorrelatedNormalNoiseParameters
 Parameters for a spatially correlated Gaussian noise source. More...
 
class  Element
 Abstract base class for all simulation elements. More...
 
struct  ElementCategoryInfo
 Category + RGBA colour (0..255) used to render an element's type chip. More...
 
struct  ElementCommonParameters
 
struct  ElementDimensions
 
class  ElementFactory
 Factory that creates concrete Element objects from type labels and parameters. More...
 
struct  ElementIdentifiers
 
struct  ElementSpecificParameters
 
class  Expand
 Expands a 1D input field to a 2D output by broadcasting along one axis. More...
 
struct  ExpandParameters
 Parameters for an Expand (1D -> 2D) element. More...
 
class  FieldCoupling
 Full-matrix learned coupling between two neural fields. More...
 
struct  FieldCouplingParameters
 Parameters for a learned full-matrix field coupling. More...
 
struct  GaussCoupling
 A single sparse Gaussian point-coupling between two spatial locations. More...
 
class  GaussFieldCoupling
 Sparse Gaussian field coupling with a fixed, user-defined projection. More...
 
struct  GaussFieldCouplingParameters
 Parameters for a sparse Gaussian field coupling (fixed projection). More...
 
class  GaussKernel
 Gaussian convolution kernel providing local excitation and optional global inhibition. More...
 
class  GaussKernel2D
 
struct  GaussKernel2DParameters
 
struct  GaussKernelParameters
 Parameters for a Gaussian lateral interaction kernel. More...
 
class  GaussStimulus
 Localized Gaussian input stimulus applied to a neural field. More...
 
class  GaussStimulus2D
 
struct  GaussStimulus2DParameters
 
struct  GaussStimulusParameters
 Parameters for a Gaussian-shaped external stimulus. More...
 
struct  HeavisideFunction
 Heaviside step function. More...
 
class  Kernel
 Abstract base class for all convolution-based interaction kernels. More...
 
class  MemoryTrace
 Persistent spatial memory that accumulates and decays field activity. More...
 
class  MemoryTrace2D
 Persistent 2D spatial memory that accumulates and decays field activity. More...
 
struct  MemoryTrace2DParameters
 Parameters governing MemoryTrace2D build-up and decay dynamics. More...
 
struct  MemoryTraceParameters
 Parameters governing MemoryTrace build-up and decay dynamics. More...
 
class  MexicanHatKernel
 Difference-of-Gaussians convolution kernel for DFT lateral interactions. More...
 
class  MexicanHatKernel2D
 
struct  MexicanHatKernel2DParameters
 
struct  MexicanHatKernelParameters
 Parameters for a Mexican-hat lateral interaction kernel. More...
 
class  NeuralField
 Continuous attractor neural field — the core DFT building block. More...
 
class  NeuralField2D
 
struct  NeuralField2DBump
 
struct  NeuralField2DParameters
 
struct  NeuralField2DState
 
struct  NeuralFieldBump
 Describes a single activation bump (peak) in a neural field. More...
 
struct  NeuralFieldParameters
 Parameters that govern a NeuralField's dynamics. More...
 
struct  NeuralFieldState
 Snapshot of a neural field's observable state. More...
 
class  NormalNoise
 Additive Gaussian noise source for neural fields. More...
 
class  NormalNoise2D
 
struct  NormalNoise2DParameters
 
struct  NormalNoiseParameters
 Parameters for an additive normal-noise input. More...
 
class  OscillatoryKernel
 Damped-cosine convolution kernel for oscillatory field dynamics. More...
 
class  OscillatoryKernel2D
 2D oscillatory lateral-interaction kernel using separable convolution. More...
 
struct  OscillatoryKernel2DParameters
 Parameters for OscillatoryKernel2D. More...
 
struct  OscillatoryKernelParameters
 Parameters for an oscillatory (damped-cosine) convolution kernel. More...
 
class  Resize
 Resamples a 1D input field of size N to this element's output size M. More...
 
class  Resize2D
 Resamples a 2D input field of size (Nx x Ny) to this element's output size (Mx x My). More...
 
struct  Resize2DParameters
 Parameters for a 2D Resize element. More...
 
struct  ResizeParameters
 Parameters for a 1D Resize element. More...
 
struct  SigmoidFunction
 Logistic (exponential) sigmoid. More...
 
class  TimedGaussStimulus
 Gaussian stimulus that is active only during specified time intervals. More...
 
class  TimedGaussStimulus2D
 2D Gaussian stimulus that is active only during specified time intervals. More...
 
struct  TimedGaussStimulus2DParameters
 
struct  TimedGaussStimulusParameters
 

Enumerations

enum  ActivationFunctionType : int { SIGMOID , HEAVISIDE , ABSSIGMOID }
 Identifies the concrete activation function type. More...
 
enum class  CompressionType : int { CompressionType::SUM , CompressionType::AVERAGE , CompressionType::MAXIMUM , CompressionType::MINIMUM }
 Reduction applied when collapsing one axis of a 2D field to 1D. More...
 
enum class  ElementCategory : int {
  FIELD , STIMULUS , KERNEL , NOISE ,
  COUPLING , MEMORY , RESHAPE , UNKNOWN
}
 Coarse functional grouping of an element, independent of dimensionality. Single source of truth for the "type" shown across UI panels. More...
 
enum  ElementLabel : int {
  UNINITIALIZED , NEURAL_FIELD , GAUSS_STIMULUS , BOOST_STIMULUS ,
  GAUSS_KERNEL , MEXICAN_HAT_KERNEL , OSCILLATORY_KERNEL , ASYMMETRIC_GAUSS_KERNEL ,
  NORMAL_NOISE , CORRELATED_NORMAL_NOISE , FIELD_COUPLING , GAUSS_FIELD_COUPLING ,
  MEMORY_TRACE , NEURAL_FIELD_2D , GAUSS_STIMULUS_2D , GAUSS_KERNEL_2D ,
  MEXICAN_HAT_KERNEL_2D , NORMAL_NOISE_2D , OSCILLATORY_KERNEL_2D , TIMED_GAUSS_STIMULUS ,
  TIMED_GAUSS_STIMULUS_2D , BOOST_STIMULUS_2D , CORRELATED_NORMAL_NOISE_2D , ASYMMETRIC_GAUSS_KERNEL_2D ,
  MEMORY_TRACE_2D , RESIZE , RESIZE_2D , COLLAPSE ,
  EXPAND
}
 
enum class  InterpolationMethod : int { InterpolationMethod::LINEAR , InterpolationMethod::NEAREST , InterpolationMethod::CUBIC }
 Interpolation method used when resampling an input field to a new size. More...
 
enum class  ProjectionAxis : int { ProjectionAxis::X , ProjectionAxis::Y }
 Spatial axis a projection acts on. More...
 

Functions

const std::map< ElementLabel, ElementCategoryInfo > & elementCategoryTable ()
 Maps every ElementLabel to its category info. The one place UI panels resolve an element's type/category from — keep this table the single source of truth (no per-window label switches).
 
ElementCategoryInfo getElementCategoryInfo (const ElementLabel label)
 Category info for a label, or an UNKNOWN/grey fallback.
 
tools::math::ReduceOp toReduceOp (const CompressionType type)
 Maps a CompressionType to the corresponding math reduction op.
 

Variables

const std::map< CompressionType, std::string > CompressionTypeToString
 Maps CompressionType values to human-readable strings.
 
const std::map< ElementLabel, std::string > ElementLabelToString
 
const std::map< InterpolationMethod, std::string > InterpolationMethodToString
 Maps InterpolationMethod values to human-readable strings.
 
const std::map< ProjectionAxis, std::string > ProjectionAxisToString
 Maps ProjectionAxis values to human-readable strings.
 

Enumeration Type Documentation

◆ ElementCategory

enum class dnf_composer::element::ElementCategory : int
strong

Coarse functional grouping of an element, independent of dimensionality. Single source of truth for the "type" shown across UI panels.

Enumerator
FIELD 
STIMULUS 
KERNEL 
NOISE 
COUPLING 
MEMORY 
RESHAPE 

Dimension/size-bridging elements: resize, collapse, expand.

UNKNOWN 

◆ ElementLabel

Enumerator
UNINITIALIZED 
NEURAL_FIELD 
GAUSS_STIMULUS 
BOOST_STIMULUS 
GAUSS_KERNEL 
MEXICAN_HAT_KERNEL 
OSCILLATORY_KERNEL 
ASYMMETRIC_GAUSS_KERNEL 
NORMAL_NOISE 
CORRELATED_NORMAL_NOISE 
FIELD_COUPLING 
GAUSS_FIELD_COUPLING 
MEMORY_TRACE 
NEURAL_FIELD_2D 
GAUSS_STIMULUS_2D 
GAUSS_KERNEL_2D 
MEXICAN_HAT_KERNEL_2D 
NORMAL_NOISE_2D 
OSCILLATORY_KERNEL_2D 
TIMED_GAUSS_STIMULUS 
TIMED_GAUSS_STIMULUS_2D 
BOOST_STIMULUS_2D 
CORRELATED_NORMAL_NOISE_2D 
ASYMMETRIC_GAUSS_KERNEL_2D 
MEMORY_TRACE_2D 
RESIZE 
RESIZE_2D 
COLLAPSE 
EXPAND 

Function Documentation

◆ elementCategoryTable()

const std::map< ElementLabel, ElementCategoryInfo > & dnf_composer::element::elementCategoryTable ( )
inline

Maps every ElementLabel to its category info. The one place UI panels resolve an element's type/category from — keep this table the single source of truth (no per-window label switches).

Here is the caller graph for this function:

◆ getElementCategoryInfo()

ElementCategoryInfo dnf_composer::element::getElementCategoryInfo ( const ElementLabel  label)
inline

Category info for a label, or an UNKNOWN/grey fallback.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toReduceOp()

tools::math::ReduceOp dnf_composer::element::toReduceOp ( const CompressionType  type)
inline

Maps a CompressionType to the corresponding math reduction op.

Here is the caller graph for this function:

Variable Documentation

◆ CompressionTypeToString

const std::map<CompressionType, std::string> dnf_composer::element::CompressionTypeToString
inline
Initial value:
= {
{CompressionType::SUM, "sum"},
{CompressionType::AVERAGE, "average"},
{CompressionType::MAXIMUM, "maximum"},
{CompressionType::MINIMUM, "minimum"}
}

Maps CompressionType values to human-readable strings.

◆ ElementLabelToString

const std::map<ElementLabel, std::string> dnf_composer::element::ElementLabelToString
inline

◆ InterpolationMethodToString

const std::map<InterpolationMethod, std::string> dnf_composer::element::InterpolationMethodToString
inline
Initial value:
= {
{InterpolationMethod::LINEAR, "linear"},
{InterpolationMethod::NEAREST, "nearest"},
{InterpolationMethod::CUBIC, "cubic"}
}

Maps InterpolationMethod values to human-readable strings.

◆ ProjectionAxisToString

const std::map<ProjectionAxis, std::string> dnf_composer::element::ProjectionAxisToString
inline
Initial value:
= {
{ProjectionAxis::X, "x"},
{ProjectionAxis::Y, "y"}
}

Maps ProjectionAxis values to human-readable strings.