Atelier des rouesLab FR
Objects/Documentation

livrer20.py

I provide the code for this calculation. livrer20.py

Download ↓
"""Early proof construction with ordered delivery. Pending goals occupy ordinary slots."""
from collections import deque,Counter
from itertools import combinations
from functools import lru_cache
import json
from memoire19 import NAMES,PARENTS,ORDERS,semantics,run as ordered


def run(slots,order):
    goals=ORDERS[order]
    start=(0,0)
    path={start:None};queue=deque([start])
    while queue:
        state=queue.popleft();mask,i=state
        if i==3:
            trace=[]

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.