lemon/ugraph_adaptor.h
changeset 2445 aaf5787f4d5d
parent 2391 14a343be7a5a
child 2553 bfced05fa852
equal deleted inserted replaced
14:b8534d718690 15:27a98124dc32
   788 
   788 
   789   /// \ingroup graph_adaptors
   789   /// \ingroup graph_adaptors
   790   ///
   790   ///
   791   /// \brief An adaptor for hiding nodes from an undirected graph.
   791   /// \brief An adaptor for hiding nodes from an undirected graph.
   792   ///
   792   ///
   793   /// An adaptor for hiding nodes from an undirected graph.
   793   /// An adaptor for hiding nodes from an undirected graph.  This
   794   /// This adaptor specializes SubUGraphAdaptor in the way that only
   794   /// adaptor specializes SubUGraphAdaptor in the way that only the
   795   /// the node-set 
   795   /// node-set can be filtered. In usual case the checked parameter is
   796   /// can be filtered. In usual case the checked parameter is true, we get the
   796   /// true, we get the induced subgraph. But if the checked parameter
   797   /// induced subgraph. But if the checked parameter is false then we can only
   797   /// is false then we can filter only isolated nodes.
   798   /// filter only isolated nodes.
       
   799   template<typename _UGraph, typename NodeFilterMap, bool checked = true>
   798   template<typename _UGraph, typename NodeFilterMap, bool checked = true>
   800   class NodeSubUGraphAdaptor : 
   799   class NodeSubUGraphAdaptor : 
   801     public SubUGraphAdaptor<_UGraph, NodeFilterMap, 
   800     public SubUGraphAdaptor<_UGraph, NodeFilterMap, 
   802                             ConstMap<typename _UGraph::UEdge, bool>, checked> {
   801                             ConstMap<typename _UGraph::UEdge, bool>, checked> {
   803   public:
   802   public: