<p>The brain is full of neurotransmitters. These neurotransmitters are connected to more neurotransmitters, etc. And they're not just one-way. One thought leads to another which could lead back to the initial thought. And when you learn, you create new neural pathways which helps.</p>

CC BY-SA 3.0
2015-12-16T08:22:05.413Z
Thanks, that might answer the second question whether circularities exist or not.
erdal.karaca
CC BY-SA 3.0
2015-12-16T00:04:57.653Z
2015-12-16T00:04:57.653Z
tango259
<p>The brain often does create looping conditions. When these loops involve a large number of neurons, we call it a seizure. An analogy in electrical engineering would be a feedback loop -- such as literal feedback between a microphone and speakers. In the brain, fortunately, these loops are usually self-dissolving since the neurons involved will often run out of neurotransmitter or energy, or inhibitory neurons will get involved (like referees breaking up a fight). Many of the neurotransmitters and hormones in the body act as regulators of ongoing processes. There are almost always negative feedback mechanisms whose purpose is to prevent overload on various systems. The equivalent in programming would be using a counter variable in a while loop to break if it loops too many times.</p>

<p>This all, of course, was with respect to short pathways (small number of links). Larger, more complex pathways such as thoughts and goals are probably handled in part by different mechanisms, such as the instinct of not wanting to waste too much time getting nowhere. At the same time, getting frustrated and rage quitting is a perfect example of hormones and neurotransmitters rising to the point of stopping the loop of trying to do something that is not working as desired.</p>

CC BY-SA 3.0
2015-12-16T18:54:02.263Z
2015-12-16T18:54:02.263Z
Michael
<p>In computer programming, when algorithms are using loops/recursion without an exit condition, the algorithm will never end or get out of resources.</p>

<p>How does the brain work around getting into endless loops/recursions due to interconnected nets, i.e. when there are circularities in the nets? For example, neuron A activates neuron B which activates C which activates A, and so on. Or are there no circularities in the brain structure?</p>

CC BY-SA 3.0
2015-12-17T04:07:31.453Z
I see that you do freelance software development. So do I. I once made a modular softsynth that has a neuron module where looping conditions are really easy to create. It is actually a bit of a challenge to avoid creating looping conditions when many neurons are involved.
Michael
<brain-development>
Why doesn't the brain get into infinite loops when being queried?
erdal.karaca
# Why doesn't the brain get into infinite loops when being queried?

(Asked by: username_0 on 2015-12-15)

In computer programming, when algorithms are using loops/recursion without an exit condition, the algorithm will never end or get out of resources.

How does the brain work around getting into endless loops/recursions due to interconnected nets, i.e. when there are circularities in the nets? For example, neuron A activates neuron B which activates C which activates A, and so on. Or are there no circularities in the brain structure?

**Tags:** brain-development

> **Comments:**
> **username_1**: I see that you do freelance software development. So do I. I once made a modular softsynth that has a neuron module where looping conditions are really easy to create. It is actually a bit of a challenge to avoid creating looping conditions when many neurons are involved.  

---

## 2 answers

### Answer by username_1 on 2015-12-16. Score: 5 | Accepted answer

The brain often does create looping conditions. When these loops involve a large number of neurons, we call it a seizure. An analogy in electrical engineering would be a feedback loop -- such as literal feedback between a microphone and speakers. In the brain, fortunately, these loops are usually self-dissolving since the neurons involved will often run out of neurotransmitter or energy, or inhibitory neurons will get involved (like referees breaking up a fight). Many of the neurotransmitters and hormones in the body act as regulators of ongoing processes. There are almost always negative feedback mechanisms whose purpose is to prevent overload on various systems. The equivalent in programming would be using a counter variable in a while loop to break if it loops too many times.

This all, of course, was with respect to short pathways (small number of links). Larger, more complex pathways such as thoughts and goals are probably handled in part by different mechanisms, such as the instinct of not wanting to waste too much time getting nowhere. At the same time, getting frustrated and rage quitting is a perfect example of hormones and neurotransmitters rising to the point of stopping the loop of trying to do something that is not working as desired.


---

### Answer by username_2 on 2015-12-16. Score: 0

The brain is full of neurotransmitters. These neurotransmitters are connected to more neurotransmitters, etc. And they're not just one-way. One thought leads to another which could lead back to the initial thought. And when you learn, you create new neural pathways which helps.

> **Comments:**
> **username_0**: Thanks, that might answer the second question whether circularities exist or not.  

---

