COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
01/26/06 17:24:40 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2485
Message:

Bipartite => Bp
Upper => A
Lower => B

+ some bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/extendable_graph_extender.h

    r1909 r1910  
    106106
    107107  template <typename _Base>
    108   class ExtendableUBipartiteGraphExtender : public _Base {
     108  class ExtendableBpUGraphExtender : public _Base {
    109109  public:
    110110
    111111    typedef _Base Parent;
    112     typedef ExtendableUBipartiteGraphExtender Graph;
     112    typedef ExtendableBpUGraphExtender Graph;
    113113 
    114114    typedef typename Parent::Node Node;
    115     typedef typename Parent::LowerNode LowerNode;
    116     typedef typename Parent::UpperNode UpperNode;
     115    typedef typename Parent::BNode BNode;
     116    typedef typename Parent::ANode ANode;
    117117    typedef typename Parent::Edge Edge;
    118118    typedef typename Parent::UEdge UEdge;
    119119 
    120     Node addUpperNode() {
    121       Node node = Parent::addUpperNode();
    122       Parent::getNotifier(UpperNode()).add(node);
     120    Node addANode() {
     121      Node node = Parent::addANode();
     122      Parent::getNotifier(ANode()).add(node);
    123123      Parent::getNotifier(Node()).add(node);
    124124      return node;
    125125    }
    126126
    127     Node addLowerNode() {
    128       Node node = Parent::addLowerNode();
    129       Parent::getNotifier(LowerNode()).add(node);
     127    Node addBNode() {
     128      Node node = Parent::addBNode();
     129      Parent::getNotifier(BNode()).add(node);
    130130      Parent::getNotifier(Node()).add(node);
    131131      return node;
Note: See TracChangeset for help on using the changeset viewer.