equal
deleted
inserted
replaced
47 } |
47 } |
48 return len; |
48 return len; |
49 } |
49 } |
50 |
50 |
51 bool empty() const { |
51 bool empty() const { |
52 return predMap[target] != INVALID; |
52 return predMap[target] == INVALID; |
53 } |
53 } |
54 |
54 |
55 class RevArcIt { |
55 class RevArcIt { |
56 public: |
56 public: |
57 RevArcIt() {} |
57 RevArcIt() {} |
121 } |
121 } |
122 return len; |
122 return len; |
123 } |
123 } |
124 |
124 |
125 bool empty() const { |
125 bool empty() const { |
126 return source != target; |
126 return predMatrixMap(source, target) == INVALID; |
127 } |
127 } |
128 |
128 |
129 class RevArcIt { |
129 class RevArcIt { |
130 public: |
130 public: |
131 RevArcIt() {} |
131 RevArcIt() {} |