diff --git a/lemon/cycle_canceling.h b/lemon/cycle_canceling.h --- a/lemon/cycle_canceling.h +++ b/lemon/cycle_canceling.h @@ -144,10 +144,11 @@ TEMPLATE_DIGRAPH_TYPEDEFS(GR); typedef std::vector IntVector; - typedef std::vector CharVector; typedef std::vector DoubleVector; typedef std::vector ValueVector; typedef std::vector CostVector; + typedef std::vector BoolVector; + // Note: vector is used instead of vector for efficiency reasons private: @@ -198,7 +199,7 @@ IntArcMap _arc_idf; IntArcMap _arc_idb; IntVector _first_out; - CharVector _forward; + BoolVector _forward; IntVector _source; IntVector _target; IntVector _reverse; @@ -962,8 +963,8 @@ // Contruct auxiliary data vectors DoubleVector pi(_res_node_num, 0.0); IntVector level(_res_node_num); - CharVector reached(_res_node_num); - CharVector processed(_res_node_num); + BoolVector reached(_res_node_num); + BoolVector processed(_res_node_num); IntVector pred_node(_res_node_num); IntVector pred_arc(_res_node_num); std::vector stack(_res_node_num);