Objets/Documentation
livrer20.py
Je fournis le code pour reproduire ce calcul. livrer20.py
Télécharger ↓"""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=[]