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