COIN-OR::LEMON - Graph Library

Changeset 1986:9b56cca61e2e in lemon-0.x for lemon/hypercube_graph.h


Ignore:
Timestamp:
02/27/06 11:36:01 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2584
Message:

An additional simplier interface for static size graphs.
Node operator()(int) for getting node by index
int index(Node node) for getting index by node

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/hypercube_graph.h

    r1979 r1986  
    225225    ///
    226226    ///  Gives back the node by its index.
    227     Node node(int index) const {
     227    Node operator()(int index) const {
    228228      return Node(index);
    229229    }
Note: See TracChangeset for help on using the changeset viewer.