lemon/graph_to_eps.h
changeset 1644 62548b317e65
parent 1604 4d037c2b66aa
child 1673 8919ca9e70f3
equal deleted inserted replaced
8:287daa7b9352 9:b0ec254bb567
   875       if(_enableParallel) {
   875       if(_enableParallel) {
   876 	std::vector<Edge> el;
   876 	std::vector<Edge> el;
   877 	for(EdgeIt e(g);e!=INVALID;++e)
   877 	for(EdgeIt e(g);e!=INVALID;++e)
   878 	  if((!_undir||g.source(e)<g.target(e))&&_edgeWidths[e]>0)
   878 	  if((!_undir||g.source(e)<g.target(e))&&_edgeWidths[e]>0)
   879 	    el.push_back(e);
   879 	    el.push_back(e);
   880 	sort(el.begin(),el.end(),edgeLess(g));
   880 	std::sort(el.begin(),el.end(),edgeLess(g));
   881 	
   881 	
   882 	typename std::vector<Edge>::iterator j;
   882 	typename std::vector<Edge>::iterator j;
   883 	for(typename std::vector<Edge>::iterator i=el.begin();i!=el.end();i=j) {
   883 	for(typename std::vector<Edge>::iterator i=el.begin();i!=el.end();i=j) {
   884 	  for(j=i+1;j!=el.end()&&isParallel(*i,*j);++j) ;
   884 	  for(j=i+1;j!=el.end()&&isParallel(*i,*j);++j) ;
   885 
   885