equal
deleted
inserted
replaced
22 #include <lemon/dijkstra.h> |
22 #include <lemon/dijkstra.h> |
23 |
23 |
24 class IntIntMap : public std::vector<int> { |
24 class IntIntMap : public std::vector<int> { |
25 public: |
25 public: |
26 typedef std::vector<int> Parent; |
26 typedef std::vector<int> Parent; |
|
27 |
|
28 typedef int Key; |
|
29 typedef int Value; |
27 |
30 |
28 IntIntMap() : Parent() {} |
31 IntIntMap() : Parent() {} |
29 IntIntMap(int n) : Parent(n) {} |
32 IntIntMap(int n) : Parent(n) {} |
30 IntIntMap(int n, int v) : Parent(n, v) {} |
33 IntIntMap(int n, int v) : Parent(n, v) {} |
31 |
34 |