COIN-OR::LEMON - Graph Library

Changeset 1909:2d806130e700 in lemon-0.x for lemon/list_graph.h


Ignore:
Timestamp:
01/26/06 16:42:13 (14 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2484
Message:

Undir -> U transition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/list_graph.h

    r1875 r1909  
    2020///\ingroup graphs
    2121///\file
    22 ///\brief ListGraph, UndirListGraph classes.
     22///\brief ListGraph, ListUGraph classes.
    2323
    2424#include <lemon/bits/erasable_graph_extender.h>
     
    577577  /**************** Undirected List Graph ****************/
    578578
    579   typedef ErasableUndirGraphExtender<
    580     ClearableUndirGraphExtender<
    581     ExtendableUndirGraphExtender<
    582     MappableUndirGraphExtender<
    583     IterableUndirGraphExtender<
    584     AlterableUndirGraphExtender<
    585     UndirGraphExtender<ListGraphBase> > > > > > > ExtendedUndirListGraphBase;
     579  typedef ErasableUGraphExtender<
     580    ClearableUGraphExtender<
     581    ExtendableUGraphExtender<
     582    MappableUGraphExtender<
     583    IterableUGraphExtender<
     584    AlterableUGraphExtender<
     585    UGraphExtender<ListGraphBase> > > > > > > ExtendedListUGraphBase;
    586586
    587587  /// \addtogroup graphs
     
    593593  ///
    594594  ///It conforms to the
    595   ///\ref concept::UndirGraph "UndirGraph" concept.
     595  ///\ref concept::UGraph "UGraph" concept.
    596596  ///
    597   ///\sa concept::UndirGraph.
     597  ///\sa concept::UGraph.
    598598  ///
    599599  ///\todo Snapshot, reverseEdge(), changeTarget(), changeSource(), contract()
    600600  ///haven't been implemented yet.
    601601  ///
    602   class UndirListGraph : public ExtendedUndirListGraphBase {
     602  class ListUGraph : public ExtendedListUGraphBase {
    603603  public:
    604     typedef ExtendedUndirListGraphBase Parent;
     604    typedef ExtendedListUGraphBase Parent;
    605605    /// \brief Changes the target of \c e to \c n
    606606    ///
     
    610610    /// referencing the changed edge remain
    611611    /// valid. However <tt>InEdge</tt>'s are invalidated.
    612     void changeTarget(UndirEdge e, Node n) {
     612    void changeTarget(UEdge e, Node n) {
    613613      _changeTarget(e,n);
    614614    }
     
    620620    ///referencing the changed edge remain
    621621    ///valid. However <tt>OutEdge</tt>'s are invalidated.
    622     void changeSource(UndirEdge e, Node n) {
     622    void changeSource(UEdge e, Node n) {
    623623      _changeSource(e,n);
    624624    }
Note: See TracChangeset for help on using the changeset viewer.