Sudoku Explainer Fixes

Programs which generate, solve, and analyze Sudoku puzzles

Re: Sudoku Explainer Fixes

Postby BryanL » Fri Dec 24, 2010 11:58 am

Is it possible to get hold of a new SE gui version with the fixes - or is there a way to run the gui from the fixed .jar ???
or build it myself?
BryanL
 
Posts: 247
Joined: 28 September 2010

Re: Sudoku Explainer Fixes

Postby ronk » Fri Dec 24, 2010 3:44 pm

BryanL wrote:Is it possible to get hold of a new SE gui version with the fixes - or is there a way to run the gui from the fixed .jar ???
or build it myself?

In a Command Prompt window, e.g. ... java -cp FIXED3SudokuExplainer.jar diuf.sudoku.gui.SudokuExplainer

or from an Explorer window, double-click on the *.jar file
ronk
2012 Supporter
 
Posts: 4764
Joined: 02 November 2005
Location: Southeastern USA

Re: Sudoku Explainer Fixes

Postby lksudoku » Fri Dec 24, 2010 4:42 pm

Or in the command line type

java -jar FIXED8SudokuExplainer.jar

the 8 can be changed to whatever version you choose
lksudoku
 
Posts: 90
Joined: 06 October 2010

Re: Sudoku Explainer Fixes

Postby daj95376 » Fri Dec 24, 2010 5:56 pm

lksudoku wrote:Or in the command line type

java -jar FIXED8SudokuExplainer.jar

the 8 can be changed to whatever version you choose

The last "fixed" version that I've seen was for version 6. Where's the announcement/link for the later versions?
daj95376
2014 Supporter
 
Posts: 2624
Joined: 15 May 2006

Re: Sudoku Explainer Fixes

Postby lksudoku » Fri Dec 24, 2010 6:18 pm

daj95376 wrote:The last "fixed" version that I've seen was for version 6. Where's the announcement/link for the later versions?

It was announced in this thread http://forum.enjoysudoku.com/post205582.html#p205582

Fixes g and h, although these are more of enhancements than fixes, and they apply only to serate
lksudoku
 
Posts: 90
Joined: 06 October 2010

Re: Sudoku Explainer Fixes

Postby BryanL » Fri Dec 24, 2010 10:59 pm

In a Command Prompt window, e.g. ... java -cp FIXED3SudokuExplainer.jar diuf.sudoku.gui.SudokuExplainer

or from an Explorer window, double-click on the *.jar file

Or in the command line type

java -jar FIXED8SudokuExplainer.jar

Thanks for the help guys.

Merry Xmas All,

Bryan
BryanL
 
Posts: 247
Joined: 28 September 2010

Re: Sudoku Explainer Fixes

Postby BryanL » Fri Dec 24, 2010 11:09 pm

lksudoku wrote:f.
Added a command line option for serate to rate puzzles in batch mode, where all lowest rating hints of same rating are applied concurrently, to use this mode add the argument -b or --batch to serate command line
command line option description:

This change only effects serate, and only when the new -b or --batch command argument is used


Is there a command line switch to get serate to output the solving steps / path?
BryanL
 
Posts: 247
Joined: 28 September 2010

Re: Sudoku Explainer Fixes

Postby daj95376 » Sat Dec 25, 2010 12:05 am

lksudoku wrote:
daj95376 wrote:The last "fixed" version that I've seen was for version 6. Where's the announcement/link for the later versions?

It was announced in this thread http://forum.enjoysudoku.com/post205582.html#p205582

Fixes g and h, although these are more of enhancements than fixes, and they apply only to serate

I'm having problems with serate. Here are three different execution lines. Only the last returned timing information; but I have no confidence that the batch mode option was recognized.

Code: Select all
java -Xrs -Xmx500m -cp Fixed8SudokuExplainer.jar diuf.sudoku.test.serate -b -t
 -ipuzzles.txt -orated.txt -f"%g ED=%r/%p/%d"


java -Xrs -Xmx500m -cp Fixed8SudokuExplainer.jar diuf.sudoku.test.serate -b --time
 -ipuzzles.txt -orated.txt -f"%g ED=%r/%p/%d"


java -Xrs -Xmx500m -cp Fixed8SudokuExplainer.jar diuf.sudoku.test.serate --batch --time
 -ipuzzles.txt -orated.txt -f"%g ED=%r/%p/%d"

>> 224.78 seconds

Maybe it's time to include the "run-time options in effect" as part of each run's output.
daj95376
2014 Supporter
 
Posts: 2624
Joined: 15 May 2006

Re: Sudoku Explainer Fixes

Postby BryanL » Sat Dec 25, 2010 7:19 am

daj95376 wrote:
Maybe it's time to include the "run-time options in effect" as part of each run's output.

That would be a handy little bit of output prior to rating a long batch, only to realise that one had a parameter wrong...
BryanL
 
Posts: 247
Joined: 28 September 2010

Re: Sudoku Explainer Fixes

Postby lksudoku » Sat Dec 25, 2010 7:29 pm

3 more fixes/enhancements to serate

i.
Fix serate parsing of command line input arguments, there was a bug causing it to skip arguments appearing after a one letter command switch that has no argument, fixed in this version

j.
"run-time options in effect" was added as part of each run's output to the screen

k.
Added a command line option to output serate solving steps, the steps description is the same as the description appearing in the GUI version under the hints classification tree, use -l or --log to view the steps
For batch mode, each batch step lists all the hints done for the batch group of moves
Code: Select all
  -l, --log
      log the steps done while rating, print the technique moves done while
      rating the puzzle

The update only effects serate

Numbered this version as 1.2.7.3 (serate only), can be downloaded from this page
lksudoku
 
Posts: 90
Joined: 06 October 2010

Re: Sudoku Explainer Fixes

Postby daj95376 » Sat Dec 25, 2010 8:55 pm

Thanks lksudoku !!!
daj95376
2014 Supporter
 
Posts: 2624
Joined: 15 May 2006

Re: Sudoku Explainer Fixes

Postby BryanL » Sun Dec 26, 2010 6:54 am

lksudoku wrote:3 more fixes/enhancements to serate


give the man a cigar!

thanks lk, quick and effective response
BryanL
 
Posts: 247
Joined: 28 September 2010

re: --

Postby Pat » Sun Dec 26, 2010 8:16 am

daj95376 wrote:
I'm having problems with serate. Here are three different execution lines.
Only the last returned timing information; but I have no confidence that the batch mode option was recognized.
  • java -Xrs -Xmx500m -cp Fixed8SudokuExplainer.jar diuf.sudoku.test.serate -b -t -ipuzzles.txt -orated.txt -f"%g ED=%r/%p/%d"
  • java -Xrs -Xmx500m -cp Fixed8SudokuExplainer.jar diuf.sudoku.test.serate -b --time -ipuzzles.txt -orated.txt -f"%g ED=%r/%p/%d"
  • java -Xrs -Xmx500m -cp Fixed8SudokuExplainer.jar diuf.sudoku.test.serate --batch --time -ipuzzles.txt -orated.txt -f"%g ED=%r/%p/%d"


yes, with -cp i expect you must use the -- ( double hyphen ) for our options
User avatar
Pat
 
Posts: 4056
Joined: 18 July 2005

Re: re: --

Postby lksudoku » Sun Dec 26, 2010 8:52 am

Pat wrote:with -cp i expect you must use the -- ( double hyphen ) for our options

No, the -cp makes no difference, the problem was fixed with fix (i) of version 1.2.7.3
lksudoku
 
Posts: 90
Joined: 06 October 2010

Re: Sudoku Explainer Fixes

Postby lksudoku » Fri Jan 07, 2011 6:26 pm

2 more fixes/enhancements to Sudoku Explainer and serate

l.
Fixed a bug in SE causing it not to identify some BUG type 2 patterns, see the following puzzles:
..4..6..5.1..8.6..5..4...9...5.....9.9..2..7.7.....2...7...2..6..8.6..1.4..8..7..
and
1.2...3.......2.4.5...6...2...3...7...6.5.8...8...9...4...1...5.3.8.......7...9.6

m.
Re-inserted the serate command line options introduced at serate version 1.2.1.3
Code: Select all
  -d, --diamond
      Terminate rating if the puzzle is not a diamond.
  -p, --pearl
      Terminate rating if the puzzle is not a pearl.


Numbered this version as 1.2.8.0, can be downloaded from this page
lksudoku
 
Posts: 90
Joined: 06 October 2010

PreviousNext

Return to Software