4 inline void print_vector(
const std::vector< T > & V) {
6 for (
int i = 0; i < V.size(); ++i)
7 std::cout <<
"[" << (V.at(i)) <<
"]\n";
15 #ifndef H_PRUNER_TYPEDEFS 16 #define H_PRUNER_TYPEDEFS 1 22 typedef std::vector< double > v_dbl;
24 typedef std::vector< v_dbl > vv_dbl;
29 typedef unsigned int uint;
32 typedef std::vector< uint > v_uint;
35 typedef std::vector< v_uint > vv_uint;
38 typedef std::vector< bool > v_bool;
42 inline uint find_in_vector(
const std::vector< T >* x, T value) {
44 for (uint i = 0u; i < x->size(); ++i)
45 if (x->at(i) == value) {