Atelier des rouesLab FR
Objects/Documentation

bandes10.py

I provide the computation for “Two endpoints indistinguishable from their strip neighbours”.

Download ↓
"""Compare local endpoint descriptors to exact increasing-geodesic counts."""
from collections import Counter,defaultdict
from functools import lru_cache
from math import factorial,gcd
from fractions import Fraction
from itertools import permutations
import json
from ambiguite import gaps
from geometrie41 import decode,flip

def layers(k,d):
    root=tuple(range(k));counts=Counter({root:1})
    for level in range(1,d+1):
        nxt=Counter()
        for a,m in counts.items():
            for n in range(2,k+1):

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.