SudokuSolver Forum
http://www.rcbroughton.co.uk/sudoku/forum/

Disjoint Groups in JSudoku?
http://www.rcbroughton.co.uk/sudoku/forum/viewtopic.php?f=11&t=211
Page 1 of 1

Author:  enxio27 [ Sat Aug 02, 2008 12:00 am ]
Post subject:  Disjoint Groups in JSudoku?

I imported a disjoint groups puzzle into JSudoku, but the cells aren't colored. What am I doing wrong?

Author:  Glyn [ Sat Aug 02, 2008 12:34 am ]
Post subject:  Re: Disjoint Groups in JSudoku?

enxio27 It seems to be ok. I've just pasted a grid into JSudoku and the coloured cells in the grid remain coloured.
Did you specify Disjoint Groups in the Extra Groups prior to pasting? use Design/New Grid or Ctrl+N.

You can specify it after import as well Design then select Extra Groups.

I've check an import from Menneske as well, all was well. Here it was set automatically.

Hopefully this will work.

Author:  enxio27 [ Sat Aug 02, 2008 2:06 am ]
Post subject:  Re: Disjoint Groups in JSudoku?

Glyn wrote:
enxio27 It seems to be ok. I've just pasted a grid into JSudoku and the coloured cells in the grid remain coloured.


OK, a regular Disjoint Groups puzzle (3x3 boxes) works, but when I try it with NO boxes (Latin Square), I don't get any colors, even though I specify Disjoint Groups for the extra groups.

Author:  Jean-Christophe [ Sat Aug 02, 2008 5:12 am ]
Post subject:  Re: Disjoint Groups in JSudoku?

enxio27 wrote:
OK, a regular Disjoint Groups puzzle (3x3 boxes) works, but when I try it with NO boxes (Latin Square), I don't get any colors, even though I specify Disjoint Groups for the extra groups.

In the user guide I wrote:
This is available only for a grid with blocks, whether square, rectangular or jigsaw.
See also the user guide
You should get this warning message "Disjoint groups requires blocks (regular or jigsaw)"

Indeed a Latin Square (NO boxes) with Disjoint Groups is logically equivalent to a vanilla sudoku (without DG). For 3x3, just reorder the rows: 147258369 -> 123456789. Dito for the columns. And you get a vanilla sudoku. So there isn't really a need to support this combination of variants.

For example, Uwe's Colour Sudoku (Plum Sudoku) can be transformed into this vanilla sudoku
Code:
+-------+-------+-------+
| . . 5 | . . . | . 1 . |
| 3 . . | . 2 . | 4 . . |
| 7 . . | 8 5 . | 9 . . |
+-------+-------+-------+
| . 7 . | 6 . . | . . . |
| 6 . 9 | . . . | 5 . 1 |
| . . . | . . 4 | . 7 . |
+-------+-------+-------+
| . . 1 | . 3 8 | . . 7 |
| . . 2 | . 6 . | . . 9 |
| . 3 . | . . . | 8 . . |
+-------+-------+-------+


I might change this in the future since combining DG + other variant(s) like diagonals cannot be transformed into a sudoku.

Anyhow, you can already use DG for a latin square. First create a sudoku WITH rectangular blocks and DG. Then choose Design: Blocks: Remove all.

Note: same limitation for Greater / Less Than.

Author:  enxio27 [ Sat Aug 02, 2008 3:20 pm ]
Post subject:  Re: Disjoint Groups in JSudoku?

Jean-Christophe wrote:
Anyhow, you can already use DG for a latin square. First create a sudoku WITH rectangular blocks and DG. Then choose Design: Blocks: Remove all.


OK, that works! Thanks!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/