private List<Action> actions(Object state) { return new List<Action>(problem.getActionsFunction() .actions(state)); } }