Check-in [f6c126aeeb]
Not logged in
Overview
SHA1 Hash:f6c126aeeb63a977c1f83ec05de5f7149223f912
Date: 2012-07-15 15:15:47
User: kinaba
Comment:better flushed check.
Timelines: family | ancestors | descendants | both | trunk
Diffs: redesign
Downloads: Tarball | ZIP archive
Other Links: files | file ages | manifest
Tags And Properties
Changes

Modified src/output.d from [ef5cfcc2ac51c863] to [045b845268918546].

42 42 private: 43 43 string log; 44 44 long[] score_log; 45 45 bool flushed; 46 46 47 47 void flush() 48 48 { 49 + if(flushed) 50 + return; 51 + 49 52 Tuple!(long, int) cand; 50 53 cand[0] = long.min; 51 54 52 55 for(int i=0; i<score_log.length; ++i) 53 56 if(cand[0] < score_log[i]) 54 57 cand = tuple(score_log[i],i); 55 58

Modified src/solver.d from [dca9b6f10b63ba61] to [b38729b48307e77e].

370 370 void force(char c) { 371 371 g.command(c); 372 372 make_plan(g); 373 373 } 374 374 } 375 375 376 376 alias Solver_2!(Solver_1) MainSolver; 377 +//alias Solver_1 MainSolver;