[Lemon-commits] [lemon_svn] alpar: r1561 - in hugo/trunk/src: lemon test

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:46:12 CET 2006


Author: alpar
Date: Mon Feb 21 10:28:00 2005
New Revision: 1561

Modified:
   hugo/trunk/src/lemon/graph_wrapper.h
   hugo/trunk/src/test/graph_wrapper_test.cc

Log:
We have UndirGraph, so BidirGraph has been removed.

Modified: hugo/trunk/src/lemon/graph_wrapper.h
==============================================================================
--- hugo/trunk/src/lemon/graph_wrapper.h	(original)
+++ hugo/trunk/src/lemon/graph_wrapper.h	Mon Feb 21 10:28:00 2005
@@ -1037,33 +1037,6 @@
   };
 
 
-  /// \brief A bidirected graph template.
-  ///
-  ///\warning Graph wrappers are in even more experimental state than the other
-  ///parts of the lib. Use them at you own risk.
-  ///
-  /// A bidirected graph template.
-  /// Such a bidirected graph stores each pair of oppositely directed edges 
-  /// ones in the memory, i.e. a directed graph of type 
-  /// \c Graph is used for that.
-  /// As the oppositely directed edges are logically different ones 
-  /// the maps are able to attach different values for them.
-  /// \ingroup graphs
-  template<typename Graph>
-  class BidirGraph : public BidirGraphWrapper<Graph> {
-  public:
-    typedef UndirGraphWrapper<Graph> Parent;
-  protected:
-    Graph gr;
-  public:
-    BidirGraph() : BidirGraphWrapper<Graph>() { 
-      Parent::setGraph(gr); 
-    }
-    //    KEEP_MAPS(Parent, BidirGraph);
-  };
-
-
-
   template<typename Graph, typename Number,
 	   typename CapacityMap, typename FlowMap>
   class ResForwardFilter {

Modified: hugo/trunk/src/test/graph_wrapper_test.cc
==============================================================================
--- hugo/trunk/src/test/graph_wrapper_test.cc	(original)
+++ hugo/trunk/src/test/graph_wrapper_test.cc	Mon Feb 21 10:28:00 2005
@@ -56,7 +56,7 @@
     
     checkConcept<StaticGraph, SubBidirGraphWrapper<Graph, 
       Graph::EdgeMap<bool>, Graph::EdgeMap<bool> > >();
-    checkConcept<StaticGraph, BidirGraph<Graph> >();
+    //    checkConcept<StaticGraph, BidirGraph<Graph> >();
     checkConcept<StaticGraph, ResGraphWrapper<Graph, int, 
       Graph::EdgeMap<int>, Graph::EdgeMap<int> > >();
 



More information about the Lemon-commits mailing list