also sprach martin f krafft
I would like my nodes and edges to have behaviours. Bundled properties -- the method to attach struct instances to nodes and edges -- seems like the way to go. However, if that is the suggested method, then "bundled properties" is somewhat of a misnomer.
... and even if: how do you get the property object from am edge or vertex descriptor? If g is an adjacency list with Edge and Node structs as edge and vertex property bundles, and ei/vi are edge/vertex iterators respectively, then the following allows me to call Edge/Node::fn(): g[*ei].fn() g[*vi].fn() This is rather awkward. Is there a better way? -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver! spamtraps: madduck.bogus@madduck.net "heuristic is computer science jargon for 'doesn't actually work.'" -- charlie reiman