COIN-OR::LEMON - Graph Library

Changeset 1770:657de7e5043c in lemon-0.x for lemon/list_graph.h


Ignore:
Timestamp:
11/04/05 17:18:51 (14 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2302
Message:

SnapShot? -> Snapshot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/list_graph.h

    r1729 r1770  
    413413    ///valid. However <tt>InEdge</tt>'s and <tt>OutEdge</tt>'s
    414414    ///may be invalidated.
    415     ///\warning This functionality cannot be used together with the SnapShot
     415    ///\warning This functionality cannot be used together with the Snapshot
    416416    ///feature.
    417417    ///\todo It could be implemented in a bit faster way.
     
    437437    ///
    438438    ///\warning Edge and node deletions cannot be restored.
    439     ///\warning SnapShots cannot be nested.
    440     ///\todo \c SnapShot or \c Snapshot?
    441     class SnapShot : protected AlterationNotifier<Node>::ObserverBase,
     439    ///\warning Snapshots cannot be nested.
     440    class Snapshot : protected AlterationNotifier<Node>::ObserverBase,
    442441                     protected AlterationNotifier<Edge>::ObserverBase
    443442    {
     
    497496      ///To actually make a snapshot you must call save().
    498497      ///
    499       SnapShot() : g(0) {}
     498      Snapshot() : g(0) {}
    500499      ///Constructor that immediately makes a snapshot.
    501500     
    502501      ///This constructor immediately makes a snapshot of the graph.
    503502      ///\param _g The graph we make a snapshot of.
    504       SnapShot(ListGraph &_g) {
     503      Snapshot(ListGraph &_g) {
    505504        regist(_g);
    506505      }
    507506      ///\bug Is it necessary?
    508507      ///
    509       ~SnapShot()
     508      ~Snapshot()
    510509      {
    511510        if(g) deregist();
     
    574573  ///\sa concept::UndirGraph.
    575574  ///
    576   ///\todo SnapShot, reverseEdge(), changeTarget(), changeSource(), contract()
     575  ///\todo Snapshot, reverseEdge(), changeTarget(), changeSource(), contract()
    577576  ///haven't been implemented yet.
    578577  ///
Note: See TracChangeset for help on using the changeset viewer.