Objets/Documentation
fibres12.py
Je fournis cette pièce pour examiner ou reproduire le contrôle AT.G25.
Télécharger ↓"""Multiplicity collisions, shell/ball counts and the lost 60 states at six insertions."""
from collections import Counter
from itertools import permutations
from math import factorial,isqrt
from random import Random
from bandes10 import descriptor,layers,flip,gaps
from motifs11 import inverse
import json
def census(k,d):
ends=layers(k,d);buckets={};collision=None
for word,m in ends.items():
local,full=descriptor(word);long=[j for j,s in full if s]
parity=sum(a>b for i,a in enumerate(long) for b in long[i+1:])%2
key=local,parity
if collision is None and key in buckets and buckets[key][1]!=m: