COIN-OR::LEMON - Graph Library

Changeset 980:0f1044b7a3af in lemon-0.x for src/lemon/full_graph.h


Ignore:
Timestamp:
11/11/04 10:31:55 (19 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1368
Message:

maxNodeId() and maxEdgeId() changed to maxId(Node) and maxId(Edge)
getNodeObserverRegistry() and getEdgeObserverRegistry() changed to
getObserverRegistry(Node) and getObserverRegistry(Edge)

IdMappableGraphExtender? erased

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/full_graph.h

    r977 r980  
    1919
    2020
    21 #include <lemon/idmappable_graph_extender.h>
    2221#include <lemon/iterable_graph_extender.h>
    2322#include <lemon/alteration_observer_registry.h>
     
    7170    /// Maximum node ID.
    7271    ///\sa id(Node)
    73     int maxNodeId() const { return NodeNum-1; }
     72    int maxId(Node = INVALID) const { return NodeNum-1; }
    7473    /// Maximum edge ID.
    7574   
    7675    /// Maximum edge ID.
    7776    ///\sa id(Edge)
    78     int maxEdgeId() const { return EdgeNum-1; }
     77    int maxId(Edge = INVALID) const { return EdgeNum-1; }
    7978
    8079    Node tail(Edge e) const { return e.id % NodeNum; }
     
    189188  typedef AlterableGraphExtender<FullGraphBase> AlterableFullGraphBase;
    190189  typedef IterableGraphExtender<AlterableFullGraphBase> IterableFullGraphBase;
    191   typedef IdMappableGraphExtender<IterableFullGraphBase> IdMappableFullGraphBase;
    192   typedef DefaultMappableGraphExtender<IdMappableFullGraphBase> MappableFullGraphBase;
     190  typedef DefaultMappableGraphExtender<IterableFullGraphBase> MappableFullGraphBase;
    193191
    194192  ///A full graph class.
Note: See TracChangeset for help on using the changeset viewer.