# Additional contact function fof the HotPath heuristic. # Last edited on 2021-05-10 15:24:07 by jstolfi import contact_hp_IMP import block def side_block(ct, i): # A mutable link that returns the block that contains the move which is # side {i} of contact {ct}. The parameter {i} must be 0 or 1. return contact_hp_IMP.side_block(ct, i) def set_side_block(ct, i, bc): # Sets the block {bc} that contains the move which is # side {i} of contact {ct}. Note that the move may occur in multiple # paths (alternatives) of that block, but must not occur in any other block. return contact_hp_IMP.set_side_block(ct, i, bc) def get_raster_link(ct): # ??? return contact_hp_IMP.get_raster_link(ct) def set_raster_link(ct): # ??? return contact_hp_IMP.set_raster_link(ct)