def decompose_state_id(state_id):
    (viewpoint, action) = state_id.split('_')
    action = int(action)
    return (viewpoint, action)
def decompose_state_id(state_id):
    (viewpoint, action) = state_id.split('_')
    action = int(action)
    return (viewpoint, action)