|
Boost Users : |
From: Harry Waye (hw271_at_[hidden])
Date: 2007-04-17 06:53:43
Hello,
Have created a graph using erdos_renyi_generator and the vertices are
labelled 1 to n. When I remove a vertex the labels are then 1 to n-1.
Is there any way to stop this relabelling from happening? Heres some
info:
typedef adjacency_list<setS, vecS, undirectedS> Graph;
typedef erdos_renyi_iterator<minstd_rand, Graph> ERGen;
Graph g(ERGen(gen, n, p), ERGen(), n);
Cheers,
Harry
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