Files
organism/modules/winnertakeall/winnertakeall.md
T

167 lines
5.0 KiB
Markdown
Raw Normal View History

2026-05-28 20:39:00 +02:00
---
include_toc: true
---
2026-05-05 10:11:56 +02:00
# winnertakeall.md
2026-05-28 20:39:00 +02:00
## WINNERTAKEALL
2026-04-14 12:05:22 +02:00
2026-05-26 12:09:23 +02:00
Qui comprendiamo i behaviors che associamo al winnertakeall. I comportamenti li consideriamo avvenire di NIGHT. E' un po' una novita' ma ha senso, si tratta di un comportamento a livello di circuiti, e quindi riorganizzazione notturna.
2026-05-22 11:00:22 +02:00
- Questo e' il nuovo tipo di espansione che permette di specificare un "circuito" di possibilita'. A differenza di BD che espande PRE implicitamente e trattando PRE tutti allo stesso modo.
2026-05-26 12:09:23 +02:00
- l'espansione determina la forma dei "circuiti" espressi dal winnertakeall.
2026-05-22 11:00:22 +02:00
- L'eventuale modulazione di winnertakeall, per ora non la prendo in considerazione. Sarebbe creare nuove relations che servirebbero quando si allungano AXON, o addirittura si creano nuovi neuroni.
- in excitation e inhibition facciamo il tuning di PRESYNAPSE, POSTSYNAPSE e ASTROSYNAPSE e implicitamente creaiamo e eliminiamo synapse
2026-05-28 18:35:00 +02:00
- @XXX e' un'attualita' che viene espressa direttamente, non calcolata dal interprete come per espansione di PRESYNAPSE. L'attualita' espressa viene riferita..
2026-05-03 16:45:41 +02:00
```Gen
2026-05-03 16:45:41 +02:00
WINNERTAKEALL
2026-05-06 11:32:05 +02:00
type: comprehension
2026-05-02 20:56:06 +02:00
2026-05-06 11:32:05 +02:00
include:
2026-05-22 11:32:35 +02:00
../../elements/neuron.md
2026-05-02 20:56:06 +02:00
2026-05-28 11:46:31 +02:00
expansion:
@NEU-005: EXPAND [ comp: NEURON ]
@NEU-006: EXPAND [ comp: NEURON ]
2026-05-22 11:00:22 +02:00
2026-05-28 11:46:31 +02:00
instantiation:
2026-05-22 11:00:22 +02:00
2026-05-28 11:46:31 +02:00
# Scope
!NIGHT: SCOPE [ reference: &ORGANISM.!NIGHT]
2026-05-22 17:36:07 +02:00
2026-05-28 11:46:31 +02:00
# Behaviour
## external
2026-05-28 20:39:00 +02:00
@IN-EXCI-001: BEHAVIOUR [ beh: IN-EXCITATION, _InPossible: TUB_COMB [
post: @NEU-001.@D-BRANCH-002._postsynapse,
post: @NEU-002.@D-BRANCH-002._postsynapse,
2026-05-28 20:44:45 +02:00
astro: @NEU-001.@D-BRANCH-002._astrosynapse ] ]
2026-05-28 11:46:31 +02:00
@IN-EXCI-001: BEHAVIOUR [ beh: IN-EXCITATION, in: @NEU-001.@D-BRANCH-002, in: @NEU-002.@D-BRANCH-002 ]
@OUT-EXCI-001: BEHAVIOUR [ beh: OUT-EXCITATION, out: @NEU-001.@AXO-001, out: @NEU-002.@AXO-001]
@IN-INHI-001: BEHAVIOUR [ beh: IN-INHIBITION, in: @NEU-004.@SOMA, in: @NEU-003.@SOMA]
## internal
### Area xxx
2026-05-28 18:40:56 +02:00
@: BEHAVIOUR [ beh: EXCITATION, _PrePostAstroSyn: TUB_COMB [
2026-05-28 20:39:00 +02:00
pre: @NEU-001.@AXON-001._presynapse,
post: @NEU-001.@D-BRANCH-001._postsynapse,
2026-05-28 20:42:57 +02:00
astro: @NEU-001.@D-BRANCH-001._astrosynapse ] ]
2026-05-22 11:00:22 +02:00
@: EXCITATION [out: @NEU-001.@AXON-001, in: @NEU-003.@D-BRANCH-001]
@: EXCITATION [out: @NEU-001.@AXON-001, in: @NEU-004.@D-BRANCH-001, in: @NEU-003.@-BRANCH-001]
@: INHIBITION [out: @NEU-002.@AXON-001, in: @NEU-003.@SOMA-001]
2026-05-28 11:46:31 +02:00
### Area yyy
2026-05-22 11:00:22 +02:00
@: EXCITATION [out: @NEU-003.@AXON-001, in: @NEU-004.@D-BRANCH-003]
@: EXCITATION [out: @NEU-004.@AXON-001, in: @NEU-002.@D-BRANCH-001]
```
2026-05-28 20:39:00 +02:00
### 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
2026-05-28 20:42:57 +02:00
( NOT _PrePostAstroSyn.pre full ) AND
( NOT _PrePostAstroSyn.post full ) AND
( NOT _PrePostAstroSyn.astro full)
bind: [_PrePostAstroSyn.pre, _PrePostAstroSyn.post, _PrePostAstroSyn.astro ]
2026-05-28 20:39:00 +02:00
trace: None?
```
###### 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 ]
```