def METHOD_NAME(str_encoding):
    """
    Converts NB201 string representation to op_indices
    """
    nodes = str_encoding.split('+')
    def get_op(x):
        return x.split('~')[0]
    node_ops = [list(map(get_op, n.strip()[1:-1].split('|'))) for n in nodes]
    enc = []
    for u, v in EDGE_LIST:
        enc.append(OP_NAMES_NB201.index(node_ops[v - 2][u - 1]))
    return tuple(enc)