test/suurballe_test.cc
branch1.2
changeset 1374 00769a5f0f5d
parent 1173 d216e1c8b3fa
parent 1257 3e711ee55d31
child 1270 dceba191c00d
equal deleted inserted replaced
12:80ec2a20a99f 15:65ac78d11094
   115   k = suurb_test.findFlow(n, k);
   115   k = suurb_test.findFlow(n, k);
   116   suurb_test.findPaths();
   116   suurb_test.findPaths();
   117 
   117 
   118   int f;
   118   int f;
   119   VType c;
   119   VType c;
   120   ignore_unused_variable_warning(f,c);
   120   ::lemon::ignore_unused_variable_warning(f,c);
   121 
   121 
   122   c = const_suurb_test.totalLength();
   122   c = const_suurb_test.totalLength();
   123   f = const_suurb_test.flow(e);
   123   f = const_suurb_test.flow(e);
   124   const SuurballeType::FlowMap& fm =
   124   const SuurballeType::FlowMap& fm =
   125     const_suurb_test.flowMap();
   125     const_suurb_test.flowMap();
   127   const SuurballeType::PotentialMap& pm =
   127   const SuurballeType::PotentialMap& pm =
   128     const_suurb_test.potentialMap();
   128     const_suurb_test.potentialMap();
   129   k = const_suurb_test.pathNum();
   129   k = const_suurb_test.pathNum();
   130   Path<Digraph> p = const_suurb_test.path(k);
   130   Path<Digraph> p = const_suurb_test.path(k);
   131 
   131 
   132   ignore_unused_variable_warning(fm);
   132   ::lemon::ignore_unused_variable_warning(fm);
   133   ignore_unused_variable_warning(pm);
   133   ::lemon::ignore_unused_variable_warning(pm);
   134 }
   134 }
   135 
   135 
   136 // Check the feasibility of the flow
   136 // Check the feasibility of the flow
   137 template <typename Digraph, typename FlowMap>
   137 template <typename Digraph, typename FlowMap>
   138 bool checkFlow( const Digraph& gr, const FlowMap& flow,
   138 bool checkFlow( const Digraph& gr, const FlowMap& flow,