ZGen  0.2.0
a linearization system for natural language.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
internal_types.h
Go to the documentation of this file.
1 #ifndef __ZGEN_SHIFTREDUCE_PIPE_TYPES_H__
2 #define __ZGEN_SHIFTREDUCE_PIPE_TYPES_H__
3 
6 #include <boost/unordered_map.hpp>
7 
8 namespace ZGen {
9 
10 namespace ShiftReduce {
11 
12 typedef std::vector<action_t> action_collection_t;
13 typedef std::vector<action_t> action_sequence_t;
14 typedef boost::unordered_map<action_t, floatval_t> packed_score_t; //
15 typedef boost::tuples::tuple<const StateItem*, action_t, floatval_t> scored_transition_t; //
16 
17 }
18 
19 } // end for namespace ZGen
20 
21 #endif // end for __ZGEN_SHIFTREDUCE_PIPE_TYPES_H__
boost::tuples::tuple< const StateItem *, action_t, floatval_t > scored_transition_t
Definition: internal_types.h:15
std::vector< action_t > action_sequence_t
a list of actions;
Definition: internal_types.h:13
std::vector< action_t > action_collection_t
Definition: internal_types.h:12
boost::unordered_map< action_t, floatval_t > packed_score_t
also a list of actions;
Definition: internal_types.h:14