COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
01/26/06 17:24:40 (18 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/alteration_notifier.h

    r1909 r1910  
    33 *
    44 * Copyright (C) 2006 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    5  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     5 * (Egervary Research Groin on Combinatorial Optimization, EGRES).
    66 *
    77 * Permission to use, modify and distribute this software is granted
     
    2121#include <algorithm>
    2222
    23 ///\ingroup graphmapfactory
     23///\ingroin graphmapfactory
    2424///\file
    2525///\brief Observer registry for graph alteration observers.
     
    2727namespace lemon {
    2828
    29   /// \addtogroup graphmapfactory
     29  /// \addtogroin graphmapfactory
    3030  /// @{
    3131
     
    502502
    503503  template <typename _Base>
    504   class AlterableUBipartiteGraphExtender : public _Base {
     504  class AlterableBpUGraphExtender : public _Base {
    505505  public:
    506506
    507507    typedef _Base Parent;
    508     typedef AlterableUBipartiteGraphExtender Graph;
     508    typedef AlterableBpUGraphExtender Graph;
    509509 
    510510    typedef typename Parent::Node Node;
    511     typedef typename Parent::LowerNode LowerNode;
    512     typedef typename Parent::UpperNode UpperNode;
     511    typedef typename Parent::BNode BNode;
     512    typedef typename Parent::ANode ANode;
    513513    typedef typename Parent::Edge Edge;
    514514    typedef typename Parent::UEdge UEdge;
     
    516516 
    517517    typedef AlterationNotifier<Node> NodeNotifier;
    518     typedef AlterationNotifier<LowerNode> LowerNodeNotifier;
    519     typedef AlterationNotifier<UpperNode> UpperNodeNotifier;
     518    typedef AlterationNotifier<BNode> BNodeNotifier;
     519    typedef AlterationNotifier<ANode> ANodeNotifier;
    520520    typedef AlterationNotifier<Edge> EdgeNotifier;
    521521    typedef AlterationNotifier<UEdge> UEdgeNotifier;
     
    524524
    525525    mutable NodeNotifier nodeNotifier;
    526     mutable LowerNodeNotifier lowerNodeNotifier;
    527     mutable UpperNodeNotifier upperNodeNotifier;
     526    mutable BNodeNotifier bNodeNotifier;
     527    mutable ANodeNotifier aNodeNotifier;
    528528    mutable EdgeNotifier edgeNotifier;
    529529    mutable UEdgeNotifier uEdgeNotifier;
     
    535535    }
    536536
    537     LowerNodeNotifier& getNotifier(LowerNode) const {
    538       return lowerNodeNotifier;
    539     }
    540 
    541     UpperNodeNotifier& getNotifier(UpperNode) const {
    542       return upperNodeNotifier;
     537    BNodeNotifier& getNotifier(BNode) const {
     538      return bNodeNotifier;
     539    }
     540
     541    ANodeNotifier& getNotifier(ANode) const {
     542      return aNodeNotifier;
    543543    }
    544544
     
    551551    }
    552552
    553     ~AlterableUBipartiteGraphExtender() {
     553    ~AlterableBpUGraphExtender() {
    554554      nodeNotifier.clear();
    555       lowerNodeNotifier.clear();
    556       upperNodeNotifier.clear();
     555      bNodeNotifier.clear();
     556      aNodeNotifier.clear();
    557557      edgeNotifier.clear();
    558558      uEdgeNotifier.clear();
Note: See TracChangeset for help on using the changeset viewer.