Check-in [f8d6e266eb]
Not logged in
Overview
SHA1 Hash:f8d6e266eb84fe6bc3cac7b2421a1d1dce89a860
Date: 2012-07-15 21:58:32
User: kinaba
Comment:Do not rush to L even all \ are collected.
Timelines: family | ancestors | descendants | both | trunk
Diffs: redesign
Downloads: Tarball | ZIP archive
Other Links: files | file ages | manifest
Tags And Properties
Changes

Modified score_memo.txt from [d46da9814cb8619d] to [845f96be529f982d].

16 16 trampoline1 291 17 17 trampoline2 1728? 18 18 trampoline3 698 19 19 beard1 856? 20 20 beard2 2792 21 21 beard3 811 22 22 beard4 677 23 +beard5 665 24 +horock1 333 25 +horock2 235 26 +horock3 1542

Modified src/solver.d from [8629f9c48aba56fd] to [36995877ce5f2cde].

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