Diff
Not logged in

Differences From Artifact [8629f9c48aba56fd]:

To Artifact [36995877ce5f2cde]:


67 return ad>bd;; 67 return ad>bd;; 68 })(la); 68 })(la); 69 Pos[] ra = g.map.razors(); 69 Pos[] ra = g.map.razors(); 70 const(Pos)[] hi = g.map.objects('W'); 70 const(Pos)[] hi = g.map.objects('W'); 71 71 72 Tuple!(char,int)[] cand; 72 Tuple!(char,int)[] cand; 73 char c = 'W'; 73 char c = 'W'; 74 if( la.empty ) { | 74 if( g.map.collected_lambda == g.map.total_lambda ) { 75 cand = search(g, ro, [li], death); 75 cand = search(g, ro, [li], death); 76 } else { | 76 } else if( !la.empty ){ 77 cand ~= search(g, ro, la~ra, death); 77 cand ~= search(g, ro, la~ra, death); 78 } 78 } 79 79 80 // 'higesori' mode 80 // 'higesori' mode 81 if( !hi.empty && g.map.razor>0 ) { 81 if( !hi.empty && g.map.razor>0 ) { 82 int his = 0; 82 int his = 0; 83 for(int dy=-1; dy<=+1; ++dy) 83 for(int dy=-1; dy<=+1; ++dy) ................................................................................................................................................................................ 385 plan_broken = true; 385 plan_broken = true; 386 } 386 } 387 else 387 else 388 plan = plan[1..$]; 388 plan = plan[1..$]; 389 } 389 } 390 } 390 } 391 391 392 alias Solver_2!(Solver_1) MainSolver; | 392 //alias Solver_2!(Solver_1) MainSolver; 393 //alias Solver_1 MainSolver; | 393 alias Solver_1 MainSolver;