Atelier des rouesLab FR
Objects/Documentation

experience.py

I simulate rewiring and frozen controls.

Download ↓
"""Four-channel delayed matching with a finite synapse budget, in discrete time."""
from collections import deque
from fractions import Fraction
from itertools import permutations
import json

CHANNELS=4
WINDOW=16
FIRST=(2,0,3,1)   # Input sensor -> target relay
SECOND=(1,3,0,2)


def develop(schedule,confounded=False):
    # Each post event is one tick after its driver. Replace the weakest incoming
    # link using observations from the most recent 16 episodes. Ties favour low IDs.
    history=deque(maxlen=WINDOW)

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.