test/suurballe_test.cc
changeset 983 8b2d4e5d96e4
parent 970 d216e1c8b3fa
parent 982 3e711ee55d31
equal deleted inserted replaced
10:80ec2a20a99f 12: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,