Boost logo

Boost Users :

Subject: [Boost-users] accessing graph vertices by index
From: Will Chen (oxeimon_at_[hidden])
Date: 2008-09-09 12:13:44


Is this doable?

Here's my graph:

struct NodeProperties {
    map<string, string> Properties;
};

struct EdgeProperties {
    map<string, string> Properties;
};

typedef adjacency_list<vecS, vecS, directedS, NodeProperties,
EdgeProperties> BipartiteGraph;

So I'm using vecS for the vertexlist, so I should be able to access them by
index right?

-- 
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