Guest User

Untitled

a guest
Jun 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. inline void UniteWith(const Group &g, Position *next) {
  2. numLibs+=g.numLibs;
  3. libSum+=g.libSum;
  4. libSumSq+=g.libSumSq;
  5.  
  6. next[last]=g.first;
  7. last=g.last;
  8.  
  9. //for(std::set<Position>::iterator it=g.libs.begin(); it!=g.libs.end(); ++it)
  10. // LibInsert(*it);
  11. }
Add Comment
Please, Sign In to add comment