Changeset 910:f3bc4e9b5f3a in lemon for lemon/cycle_canceling.h
- Timestamp:
- 02/20/10 18:39:03 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/cycle_canceling.h
r886 r910 145 145 146 146 typedef std::vector<int> IntVector; 147 typedef std::vector<char> CharVector;148 147 typedef std::vector<double> DoubleVector; 149 148 typedef std::vector<Value> ValueVector; 150 149 typedef std::vector<Cost> CostVector; 150 typedef std::vector<char> BoolVector; 151 // Note: vector<char> is used instead of vector<bool> for efficiency reasons 151 152 152 153 private: … … 199 200 IntArcMap _arc_idb; 200 201 IntVector _first_out; 201 CharVector _forward;202 BoolVector _forward; 202 203 IntVector _source; 203 204 IntVector _target; … … 934 935 DoubleVector pi(_res_node_num, 0.0); 935 936 IntVector level(_res_node_num); 936 CharVector reached(_res_node_num);937 CharVector processed(_res_node_num);937 BoolVector reached(_res_node_num); 938 BoolVector processed(_res_node_num); 938 939 IntVector pred_node(_res_node_num); 939 940 IntVector pred_arc(_res_node_num);
Note: See TracChangeset
for help on using the changeset viewer.