Files
organism/modules/winnertakeall/winnertakeall-beh.md
T
2026-05-28 18:35:00 +02:00

112 lines
2.7 KiB
Markdown

---
include_toc: true
---
# winnertakeall-beh.md
## EXCITATION
```Gen
EXCITATION
type: container
activity_scope: !NIGHT
tub_intricated:
_Presynapse: TUB [in]
_Presynapse: TUB [out.{}.{}.PRESYNAPSE]
_Postsynapse: TUB [in.{}.{}.POSTSYNAPSE]
# Qui il modulo interno TUB trova la PRESYNAPSE come istanziazione e la intrica con _Presynapse
_Astrosynapse: TUB [ASTROCYTE.ASTROSYNAPSE]
# Qui l'unico ASTROCYTE che "conosco" e' quello al quale WINNERTAKELL e' stato binded in TECTUM, ovvero nell'organo che ha espansi il modulo.
snippets:
# &Fixed
@: CONTEXTOR [snip: Excitation_possible, RF: active 60x]
# &ActivateAstroPostPre
@: BINDER [snip: Excitation_bind, RF: active 6x]
@: ACCUMULATOR [snip: ClearTraces, RF: active 6x]
@: BINDER [snip: Excitation_unbind, RF: active 6x]
```
### &Fixed
#### Excitation_possible
Qui devo capire queste tracce chi le lascia e se sono esclusive?
```Gen
Excitation_possible
in_context: &Fixed
condition: ???
out_context: &ActivateAstroPostPre
condition: ( BadTraces fullness )
out_context: DeActivateAstroPostPre_ctx
```
### &ActivateAstroPostPre
#### Excitation_bind
Qui attiviamo la Syn collegando Pre e Post. Lo facciamo per tutte le relazioni fino a quando GoodTraces fullness
```Gen
Excitation_bind
in_context: &ActivateAstroPostPre
hypothesis: ( GoodTraces fullness ) AND NOT ( _Astrosynapse full ) AND NOT ( _Presynapse full ) AND NOT ( _Postsynapse full)
bind: [_Presynapse increase, _Postsynapse increase, _Astrosynapse increase]
trace: None?
hypothesis: ( GoodTraces fullness ) AND
( NOT _PrePostAstroSyn.PRESYNAPSE full ) AND
( NOT _PrePostAstroSyn.POSTSYNAPSE full ) AND
( NOT _PrePostAstroSyn.ASTROSYNAPSE full)
bind: [_PrePostAstroSyn.PRESYNAPSE, _PrePostAstroSyn.POSTSYNAPSE, _PrePostAstroSyn.ASTROSYNAPSE ]
trace: None?
action:
@: BIND [ syn: _synapse, pre: _PrePostAstroSyn.PRESYNAPSE, post: _PrePostAstroSyn.POSTSYNAPSE, ast: _PrePostAstroSyn.ASTROSYNAPSE ]
```
#### ClearTraces
```Gen
ClearTraces
in_context: &ActivateAstroPostPre
hypothesis: GoodTraces NOT empty
action: GoodTraces decrease
trace: None?
```
#### Excitation_unbind
Qui deattiviamo la Syn
```Gen
Excitation_unbind
# Devo essere sicuro di eliminare i 3 che sono collegati, non a caso. Qui forse il Bind e' prima della ipotesi, perche' dobbiamo assicurarci ci sia una sinapsi da sciogliere.
in_context: &DeActivateSynPostPre
hypothesis: (BadTraces fullness)
unbind: [_Presynapse decrease, _Postsynapse decrease, _Astrosynapse decrease]
trace: None?
hypothesis: ( NOT _synapse empty )
action:
@: UNBIND [ syn: _synapse ]
```