diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-01-06 15:57:28 -0500 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-01-06 15:57:28 -0500 |
commit | ed0ac6791435c36e8374b218454ebfa7485f0845 (patch) | |
tree | 4b0b48afa48f9e09ef9ab1f9ba27f68f9f118840 /LICENSE | |
parent | dc88e19199f056d6f2e17c481737a71fcab70398 (diff) |
Optimalize by using vectors over maps and sets
- Can iterate over vertices with for (int v = 0; v < number_vertices;
v++) loop
- This required internally remapping the vertices from their actual
names to 0, 1, ..., number_vertices - 1.
- Use Graph::get_real_vertex(vertex) to get original value
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions