Pretty much. But when you remove the vertex, you won't be able to dump
its output (not that all applications need to).
Avery
On 4/7/14, 9:38 AM, Liannet Reyes wrote:
Hi,
Because of my algorithm I am able to detect when a vertex won't be
used anymore, what would be more accurate : voteToHalt or removeVertex.
I imagine that removing the vertexes I can free some memory and
although it have some cost in execution time that is not a big deal as
the graph is smaller each time. Am I right?
Regards,
Liannet