Changeset d484a32 for src/dgp/sgraph.hh
- Timestamp:
- 10/24/14 13:07:15 (10 years ago)
- Branches:
- master
- Children:
- acbabee
- Parents:
- 56c300b
- git-author:
- Tomasz Obrebski <obrebski@…> (10/24/14 13:07:15)
- git-committer:
- Tomasz Obrebski <obrebski@…> (10/24/14 13:07:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/dgp/sgraph.hh
r519eaf5 rd484a32 296 296 LViterator(SGraph& sg, int n, bool s); 297 297 int next(); 298 void update_edge(SGraph& sg, int e); 298 299 299 300 private: … … 308 309 void push_lh(int i); 309 310 void push_ln(int i); 311 310 312 }; 311 313 … … 326 328 } 327 329 330 } 331 } 332 333 inline void LViterator::update_edge(SGraph& sg, int n) 334 { 335 for(vector<int>::iterator i=sg[n].edge.begin(); i!=sg[n].edge.end(); ++i) 336 { 337 push_ld(*i); 338 push_ln(*i); 328 339 } 329 340 }
Note: See TracChangeset
for help on using the changeset viewer.