lemon/preflow.h
changeset 2386 81b47fc5c444
parent 2376 0ed45a6c74b1
child 2387 317b9a88c350
equal deleted inserted replaced
18:435bdfc8982f 19:9e989f7a250b
   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'