Boost logo

Boost Users :

Subject: [Boost-users] BGL - maximum_adjacency_search - assignedVertices
From: Adam Celick (aspart.ns_at_[hidden])
Date: 2014-10-13 20:42:54


I was looking at the implementation of maximum_adjacency_search algorithm
and got confused by the assignedVertices local variable. It is defined as a
set of vertex descriptors and is being iterated over inside the main loop
(lines 168-184) but it is never inserted into. So the for loop will always
skip. It looks to me as if that part of the code can be eliminated. Am I
missing something?

Thanks,
Adam



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net