COIN-OR::LEMON - Graph Library

Changeset 1106:0a7d604a9763 in lemon-0.x for src/lemon/full_graph.h


Ignore:
Timestamp:
01/28/05 16:37:08 (19 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1505
Message:

Concept modification to resolve the item by its ID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/full_graph.h

    r1039 r1106  
    103103    static int id(Edge e) { return e.id; }
    104104
     105    static Node fromId(int id, Node) { return Node(id);}
     106   
     107    static Edge fromId(int id, Edge) { return Edge(id);}
     108
    105109    /// Finds an edge between two nodes.
    106110   
Note: See TracChangeset for help on using the changeset viewer.