Boost logo

Boost Users :

Subject: [Boost-users] what is a vertex_descriptor? (boost graph library)
From: Will Chen (oxeimon_at_[hidden])
Date: 2008-09-12 23:46:45


So it looks like it's basically a 0-based integer. When I start adding
vertices to an empty graph, the first one comes back as 0, the second as 1,
third as 2...etc.

Is it always an integer? When is it not an integer?

I really want a way to easily convert vertex_descriptor's and
edge_descriptor's to and from strings. Any ideas?

-- 
William Yun Chen '09
Hinman Box 1826
Dartmouth College
Hanover, NH, 03755


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