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 trampoline1 291 16 trampoline1 291 17 trampoline2 1728? 17 trampoline2 1728? 18 trampoline3 698 18 trampoline3 698 19 beard1 856? 19 beard1 856? 20 beard2 2792 20 beard2 2792 21 beard3 811 21 beard3 811 22 beard4 677 22 beard4 677 > 23 beard5 665 > 24 horock1 333 > 25 horock2 235 > 26 horock3 1542

Modified src/solver.d from [8629f9c48aba56fd] to [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;