lemon/bits/path_dump.h
changeset 987 70b199792735
parent 529 f5bc148f7e1f
parent 889 1aa7eba26af5
child 927 d303bfa8b1ed
equal deleted inserted replaced
4:d1bf0c5e6e72 7:8b43ebc0e816
    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() {}