ROSE  0.11.145.0

Demo showing how to define your own index type.

In this example the goal is to have vertices that are labeled with small, stable integers and provide O(1) index operations. We do that by using a std::vector as the index, and the vertex labels are indexes into the vector.

Collaboration diagram for Using a custom index type: