Synapse - Overdrive77/BioSynapStudio-Public GitHub Wiki


Synapse Class

Models a connection between two neurons, supporting weighted transmission and hormone-modulated signaling for biologically grounded neural behavior.


Namespace

BioSynapStudio.Net.Core

Assembly

BioSynapStudio.Net.Core.dll

Summary

The Synapse class enables signal transmission from one neuron to another with customizable weights and neurotransmitter effects. It includes hormone-based modulation to simulate realistic neurochemical dynamics and plasticity.


Constructors

Synapse()

Creates a new synapse with default values.


Properties

Name Type Description
LastSignal double The most recent signal transmitted through this synapse.
PresynapticNeuron Neuron The source neuron (sender).
PostsynapticNeuron Neuron The target neuron (receiver).
UsageCounter double Count of times the synapse has been used (read-only).
LastUsedTick double The last simulation tick in which this synapse transmitted a signal.
Weight double Strength of the synapse connection. (Persisted with [HippocampalMemory])
Transmitter NeurotransmitterType Neurotransmitter(s) used by this synapse. (Persisted)

Public Methods

void Link(Neuron source, Neuron target)

Connects the synapse to a source (presynaptic) and target (postsynaptic) neuron.

synapse.Link(neuronA, neuronB);

void Transmit(double presynapticSpike)

Transmits a signal to the postsynaptic neuron, applying weight and hormonal modulation.

synapse.Transmit(spikeStrength);

This method also logs the final signal strength using [Synapse] debug tags.


Remarks

Each synapse handles both electrical weight and neurotransmitter-based chemical modulation. Hormone levels influence signal strength through realistic biological logic (e.g., dopamine enhances, cortisol may inhibit). This design supports dynamic neural behavior and emotion modeling.


See Also


Legal Notice This software constitutes original intellectual property of the author, protected under international copyright and patent law. Patent: GB2506327.2 – Synthesized Emotional Cognition (SEC) DOI: 10.17605/OSF.IO/XERKF