COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
11/05/04 01:31:49 (20 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1345
Message:

Undirect graph implementation.
Not yet done, untested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/concept/graph_component.h

    r961 r962  
    264264        function_requires< GraphItemConcept<Edge> >();
    265265        {
    266           const Graph& const_graph = graph;
    267266          Node n;
    268267          Edge e;
    269           n = const_graph.tail(e);
    270           n = const_graph.head(e);
     268          n = graph.tail(e);
     269          n = graph.head(e);
    271270        }     
    272271      }
    273272     
    274       Graph& graph;
     273      const Graph& graph;
    275274    };
    276275
     
    646645    template <typename Graph>
    647646    struct IterableGraphComponentConcept {
    648 
    649647      void constraints() {
    650648        function_requires< BaseIterableGraphComponentConcept<Graph> >();
     
    662660        function_requires< GraphIncIteratorConcept<InEdgeIt, Graph> >();
    663661      }
    664       Graph& graph;
    665662    };
    666663
Note: See TracChangeset for help on using the changeset viewer.