equal
deleted
inserted
replaced
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, |