1 #ifndef __ZGEN_SHIFTREDUCE_TYPES_ACTION_UTILS_H__
2 #define __ZGEN_SHIFTREDUCE_TYPES_ACTION_UTILS_H__
9 namespace ShiftReduce {
60 static void get_correct_actions_travel(
int root,
62 const std::vector<std::vector<int> > & tree,
69 #endif // end for __ZGEN_SHIFTREDUCE_TYPES_ACTION_UTILS_H__
static bool is_right_arc(const action_t &act)
Definition: action_utils.cc:21
std::vector< action_t > action_sequence_t
a list of actions;
Definition: internal_types.h:13
static bool is_shift(const action_t &act)
Definition: action_utils.cc:11
Definition: instance.h:18
static bool is_left_arc(const action_t &act)
Definition: action_utils.cc:16
static int get_correct_actions(const dependency_t &reference, action_sequence_t &actions)
Definition: action_utils.cc:26
Definition: action_utils.h:11