test/suurballe_test.cc
changeset 1257 3e711ee55d31
parent 1171 7e368d9b67f7
child 1258 bdfc038f364c
child 1259 8b2d4e5d96e4
equal deleted inserted replaced
10:b0c30a5d95ba 13:7fd75812fae4
   105   k = suurb_test.findFlow(n, k);
   105   k = suurb_test.findFlow(n, k);
   106   suurb_test.findPaths();
   106   suurb_test.findPaths();
   107   
   107   
   108   int f;
   108   int f;
   109   VType c;
   109   VType c;
   110   ignore_unused_variable_warning(f,c);
   110   ::lemon::ignore_unused_variable_warning(f,c);
   111 
   111 
   112   c = const_suurb_test.totalLength();
   112   c = const_suurb_test.totalLength();
   113   f = const_suurb_test.flow(e);
   113   f = const_suurb_test.flow(e);
   114   const SuurballeType::FlowMap& fm =
   114   const SuurballeType::FlowMap& fm =
   115     const_suurb_test.flowMap();
   115     const_suurb_test.flowMap();
   117   const SuurballeType::PotentialMap& pm =
   117   const SuurballeType::PotentialMap& pm =
   118     const_suurb_test.potentialMap();
   118     const_suurb_test.potentialMap();
   119   k = const_suurb_test.pathNum();
   119   k = const_suurb_test.pathNum();
   120   Path<Digraph> p = const_suurb_test.path(k);
   120   Path<Digraph> p = const_suurb_test.path(k);
   121   
   121   
   122   ignore_unused_variable_warning(fm);
   122   ::lemon::ignore_unused_variable_warning(fm);
   123   ignore_unused_variable_warning(pm);
   123   ::lemon::ignore_unused_variable_warning(pm);
   124 }
   124 }
   125 
   125 
   126 // Check the feasibility of the flow
   126 // Check the feasibility of the flow
   127 template <typename Digraph, typename FlowMap>
   127 template <typename Digraph, typename FlowMap>
   128 bool checkFlow( const Digraph& gr, const FlowMap& flow,
   128 bool checkFlow( const Digraph& gr, const FlowMap& flow,