equal
deleted
inserted
replaced
232 ///minCut returns a minimum cut. |
232 ///minCut returns a minimum cut. |
233 ///\warning \ref minMinCut() and \ref maxMinCut() do not |
233 ///\warning \ref minMinCut() and \ref maxMinCut() do not |
234 ///give minimum value cuts unless calling \ref phase2(). |
234 ///give minimum value cuts unless calling \ref phase2(). |
235 void phase1() |
235 void phase1() |
236 { |
236 { |
237 int heur0=(int)(H0*_node_num); //time while running 'bound decrease' |
237 int heur0=int(H0*_node_num); //time while running 'bound decrease' |
238 int heur1=(int)(H1*_node_num); //time while running 'highest label' |
238 int heur1=int(H1*_node_num); //time while running 'highest label' |
239 int heur=heur1; //starting time interval (#of relabels) |
239 int heur=heur1; //starting time interval (#of relabels) |
240 int numrelabel=0; |
240 int numrelabel=0; |
241 |
241 |
242 bool what_heur=1; |
242 bool what_heur=1; |
243 //It is 0 in case 'bound decrease' and 1 in case 'highest label' |
243 //It is 0 in case 'bound decrease' and 1 in case 'highest label' |