# Implementation of the {original_path} module. # Last edited on 2021-09-30 12:25:41 by stolfi import path import block import generic_path def make(wr, o, BCS, CTS, mp_jump): Q = path.make_empty(o) for bc in BCS: use_links = True P = block.choice(bc, 0) Q = path.concat((Q, P), use_links, mp_jump) generic_path.describe_solution(wr, Q, CTS, +inf, o, o, 0) return Q # ----------------------------------------------------------------------