COIN-OR::LEMON - Graph Library

Changeset 2381:0248790c66ea in lemon-0.x for lemon/ugraph_adaptor.h


Ignore:
Timestamp:
03/01/07 17:47:23 (17 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3212
Message:

Bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/ugraph_adaptor.h

    r2096 r2381  
    152152    typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier;
    153153
    154     NodeNotifier& getNotifier(Node) const {
    155       return graph->getNotifier(Node());
     154    NodeNotifier& notifier(Node) const {
     155      return graph->notifier(Node());
    156156    }
    157157
    158158    typedef typename ItemSetTraits<Graph, Edge>::ItemNotifier EdgeNotifier;
    159159
    160     EdgeNotifier& getNotifier(Edge) const {
    161       return graph->getNotifier(Edge());
     160    EdgeNotifier& notifier(Edge) const {
     161      return graph->notifier(Edge());
    162162    }
    163163
    164164    typedef typename ItemSetTraits<Graph, UEdge>::ItemNotifier UEdgeNotifier;
    165165
    166     UEdgeNotifier& getNotifier(UEdge) const {
    167       return graph->getNotifier(UEdge());
     166    UEdgeNotifier& notifier(UEdge) const {
     167      return graph->notifier(UEdge());
    168168    }
    169169
     
    312312      Parent::firstInc(i, d, n);
    313313      while (i!=INVALID && (!(*uedge_filter_map)[i]
     314            || !(*node_filter_map)[Parent::source(i)]
    314315            || !(*node_filter_map)[Parent::target(i)])) Parent::nextInc(i, d);
    315316    }
     
    348349    void nextInc(UEdge& i, bool& d) const {
    349350      Parent::nextInc(i, d);
    350       while (i!=INVALID && (!(*uedge_filter_map)[i]
    351             || !(*node_filter_map)[Parent::source(i)])) Parent::nextInc(i, d);
     351      while (i!=INVALID && (!(*uedge_filter_map)[i]
     352            || !(*node_filter_map)[Parent::source(i)]
     353            || !(*node_filter_map)[Parent::target(i)])) Parent::nextInc(i, d);
    352354    }
    353355
     
    988990    typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier;
    989991
    990     NodeNotifier& getNotifier(Node) const {
    991       return graph->getNotifier(Node());
     992    NodeNotifier& notifier(Node) const {
     993      return graph->notifier(Node());
    992994    }
    993995
    994996    typedef typename ItemSetTraits<Graph, Edge>::ItemNotifier EdgeNotifier;
    995997
    996     EdgeNotifier& getNotifier(Edge) const {
    997       return graph->getNotifier(Edge());
     998    EdgeNotifier& notifier(Edge) const {
     999      return graph->notifier(Edge());
    9981000    }
    9991001
Note: See TracChangeset for help on using the changeset viewer.