test/heap_test.h
changeset 2315 bd09e00b64bb
parent 2242 16523135943d
child 2391 14a343be7a5a
equal deleted inserted replaced
6:091df660a30e 7:88371854024f
    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