-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Is it possible to label edges/vertices with arbitary data type? It'll be great to be able do so. E.g i want to represent path with graph and that graph should have vertices labeled with string type(like street name or whatever) and edges with int type(travel time). Ultimately it should be possible to instantinate these two types of labels(for edges and for vertices) with arbitrary type.
Imaginary code follows for better understandin what i mean.
// Vertex label type.
class Foo { ... };
// Edge label type.
enum Bar { ... };
auto graph = new Graph!(Foo, Bar)(...);
Metadata
Metadata
Assignees
Labels
No labels