lemon/full_graph.h
changeset 380 d916b8995e22
parent 354 80a4d0742e98
child 360 75cf49ce5390
equal deleted inserted replaced
1:a4df2492fdb5 2:4d96a431056d
    73     static Arc arcFromId(int id) { return Arc(id);}
    73     static Arc arcFromId(int id) { return Arc(id);}
    74 
    74 
    75     typedef True FindArcTag;
    75     typedef True FindArcTag;
    76 
    76 
    77     Arc findArc(Node s, Node t, Arc prev = INVALID) const {
    77     Arc findArc(Node s, Node t, Arc prev = INVALID) const {
    78       return prev != INVALID ? arc(s, t) : INVALID;
    78       return prev == INVALID ? arc(s, t) : INVALID;
    79     }
    79     }
    80 
    80 
    81     class Node {
    81     class Node {
    82       friend class FullDigraphBase;
    82       friend class FullDigraphBase;
    83 
    83