Generalized pick_action for epsilon/no epsilon and restricted/not-restricted