HormoneNeuron - Overdrive77/BioSynapStudio-Public GitHub Wiki
HormoneNeuron Class
Summary
A specialized neuron that emits a specified neurotransmitter into the global hormone system upon firing. Used to simulate emotional, motivational, and physiological signaling within synthetic brains.
Namespace
BioSynapStudio.Net.Modules.Neurons
Assembly
BioSynapStudio.Net.dll
Inheritance
Identity → Membrane → Soma → Neuron → HormoneNeuron
Constructor
HormoneNeuron(HormoneLevel hormoneLevel)
Initializes the neuron with a reference to a shared HormoneLevel
instance. Also automatically adds sodium, potassium, and chloride ion channels.
Properties
Name | Type | Description |
---|---|---|
HormoneType |
NeurotransmitterType |
The neurotransmitter emitted when the neuron spikes (default: Dopamine ). |
EmissionStrength |
double |
The amount of hormone emitted into the system per spike (default: 0.05 ). |
Methods
Name | Signature | Description |
---|---|---|
OnSpike |
protected override bool OnSpike() |
Invoked when the neuron generates a spike. Emits the configured hormone into the HormoneLevel system and logs the emission. |
Usage Example
var hormones = new HormoneLevel();
var dopamineNeuron = new HormoneNeuron(hormones)
{
HormoneType = NeurotransmitterType.Dopamine,
EmissionStrength = 0.08
};
dopamineNeuron.ReceiveSignal(-35); // Triggers spike
dopamineNeuron.Tick(); // Emits hormone
Remarks
- Ideal for simulating emotional and motivational subsystems (e.g., reward prediction, mood regulation).
- Integrates directly with
EmotionClassifier
, influencing system-wide emotional states. - Automatically includes biologically accurate ion channels (Na⁺, K⁺, Cl⁻).
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