23 Mar
2010
23 Mar
'10
2:26 a.m.
I have declared CustomVertex and CustomEdge classes, each with a bunch of internal properties.
class CustomVertex {
int length;
string name;
bool ori;
public:
CustomVertex() {}
~CustomVertex() {}
FlipVertex() { ori = !ori; }
};
class CustomEdge {
char type;
int distance;
bool src_ori;
bool dst_ori;
public:
CustomEdge() {}
~CustomEdge() {}
};
Tried to use bundled properties, the graph is defined as:
typedef adjacency_list