lemon/ugraph_adaptor.h
changeset 1988 875fe3f689e0
parent 1980 a954b780e3ab
child 1991 d7442141d9ef
equal deleted inserted replaced
1:27e976845d91 2:2dd05e6c3b90
   595   public:
   595   public:
   596     typedef SubUGraphAdaptor<_UGraph, NodeFilterMap, 
   596     typedef SubUGraphAdaptor<_UGraph, NodeFilterMap, 
   597                              ConstMap<typename _UGraph::UEdge, bool> > Parent;
   597                              ConstMap<typename _UGraph::UEdge, bool> > Parent;
   598     typedef _UGraph Graph;
   598     typedef _UGraph Graph;
   599   protected:
   599   protected:
   600     ConstMap<typename _UGraph::Edge, bool> const_true_map;
   600     ConstMap<typename _UGraph::UEdge, bool> const_true_map;
   601   public:
   601   public:
   602     NodeSubUGraphAdaptor(Graph& _graph, NodeFilterMap& _node_filter_map) : 
   602     NodeSubUGraphAdaptor(Graph& _graph, NodeFilterMap& _node_filter_map) : 
   603       Parent(), const_true_map(true) { 
   603       Parent(), const_true_map(true) { 
   604       Parent::setGraph(_graph);
   604       Parent::setGraph(_graph);
   605       Parent::setNodeFilterMap(_node_filter_map);
   605       Parent::setNodeFilterMap(_node_filter_map);