Sudoku Programmers Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in          Games  Calendar

Log in to check your private messagesLog in to check your private messages   

What Jellyfish rule am I breaking?

 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Programming sudoku
View previous topic :: View next topic  
Author Message
Puzzler

Joined: 04 May 2009
Posts: 36
:

Items
PostPosted: Mon May 04, 2009 11:08 pm    Post subject: What Jellyfish rule am I breaking? Reply with quote

I was wondering if someone could review this jellyfish grid and tell me what rule I'm breaking.

The situation is that I've found a Jellyfish for 1's in the grid (marked in Green) and identified the candidates to be removed (highlighted in red)

The trouble is the candidate marked in the purple group shouldn't be marked for elimination as it's actually the value for this cell.

I've racked my brains but i cant see what "rule" I'm breaking for Jellyfish, or is it that this technique is only suited to grids where more candidates have been removed?

Thanks again!

The text version is really hard to decipher. Is there anyway to post an image on a message? A screen print would be much easier to read.

*-----------*
|003|100|005|
|850|400|000|
|006|050|009|
|---+---+---|
|025|006|080|
|000|000|000|
|070|800|430|
|---+---+---|
|500|020|600|
|000|008|014|
|100|003|500|
*-----------*


*-----------------------------------------------------------------------------*
| 2479 49 3 | 1 6789 279 | 278 2467 5 |
| 8 5 1279 | 4 3679 279 | 1237 267 12367 |
| 247 14 6 | 237 5 27 | 12378 247 9 |
|-------------------------+-------------------------+-------------------------|
| 349 2 5 | 379 13479 6 | 179 8 17 |
| 3469 134689 1489 | 23579 13479 124579 | 1279 25679 1267 |
| 69 7 19 | 8 19 1259 | 4 3 126 |
|-------------------------+-------------------------+-------------------------|
| 5 3489 4789 | 79 2 1479 | 6 79 378 |
| 23679 369 279 | 5679 679 8 | 2379 1 4 |
| 1 4689 24789 | 679 4679 3 | 5 279 278 |
*-----------------------------------------------------------------------------*
Back to top
View user's profile Send private message
Pete

Joined: 09 Jun 2008
Posts: 18
:
Location: Somerset, NJ

Items
PostPosted: Mon May 04, 2009 11:55 pm    Post subject: Reply with quote

I don't see any jellyfish here. Did you overlook the 1 at r7c6?
Back to top
View user's profile Send private message AIM Address
hobiwan

Joined: 11 Feb 2008
Posts: 83
:

Items
PostPosted: Tue May 05, 2009 5:31 am    Post subject: Reply with quote

It is easier to see if you align the candidates and put the grid between code tags:
Code:
.----------------------.----------------------.---------------------.
| 2479   49      3     | 1      6789   279    | 278    2467   5     |
| 8      5       1279  | 4      3679   279    | 1237   267    12367 |
| 247    14      6     | 237    5      27     | 12378  247    9     |
:----------------------+----------------------+---------------------:
| 349    2       5     | 379    13479  6      | 179    8      17    |
| 3469   134689  1489  | 23579  13479  124579 | 1279   25679  1267  |
| 69     7       19    | 8      19     1259   | 4      3      126   |
:----------------------+----------------------+---------------------:
| 5      3489    4789  | 79     2      1479   | 6      79     378   |
| 23679  369     279   | 5679   679    8      | 2379   1      4     |
| 1      4689    24789 | 679    4679   3      | 5      279    278   |
'----------------------'----------------------'---------------------'

There is no Jellyfish in this grid.

If you do all Singles, two Locked Candidates and two Naked Pairs, you arrive at a Jellyfish for 9:
Code:
.--------------------.-----------------.--------------.
| *279   4     3     | 1    8     *279 | 27   6    5  |
|  8     5    *279   | 4    6     *279 | 13   27   13 |
|  27    1     6     | 3    5      27  | 8    4    9  |
:--------------------+-----------------+--------------:
|  4     2     5     | 79   3      6   | 179  8    17 |
|  3-9   389   18-9  | 2    17-9   4   | 79   5    6  |
|  6     7    *19    | 8   *19     5   | 4    3    2  |
:--------------------+-----------------+--------------:
|  5     38    4     | 79   2      1   | 6    79   38 |
| *2379  6    *279   | 5   *79     8   | 237  1    4  |
|  1     89    278-9 | 6    4      3   | 5    279  78 |
'--------------------'-----------------'--------------'

Jellyfish: 9 r1268 c1356 => r5c135,r9c3<>9
Back to top
View user's profile Send private message
daj95376

Joined: 05 Feb 2006
Posts: 349
:

Items
PostPosted: Tue May 05, 2009 9:37 am    Post subject: Reply with quote

You forgot to mark [r7c6] Green in column 6. This would force you to add another row ... and that's the rule you would be violating. {Repeating what Pete said earlier, but with a marked PM}

Code:
 *-----------------------------------------------------------------------------*
 | 2479    49      3       | 1       6789    279     | 278     2467    5       |
 | 8       5      *1279    | 4       3679    279     | 1237    267    *12367   |
 | 247     14      6       | 237     5       27      | 12378   247     9       |
 |-------------------------+-------------------------+-------------------------|
 | 349     2       5       | 379    *13479   6       | 179     8      *17      |
 | 3469    134689 *1489    | 23579  *13479  *124579  | 1279    25679  *1267    |
 | 69      7      *19      | 8      *19     *1259    | 4       3      *126     |
 |-------------------------+-------------------------+-------------------------|
 | 5       3489    4789    | 79      2      @1479    | 6       79      378     |
 | 23679   369     279     | 5679    679     8       | 2379    1       4       |
 | 1       4689    24789   | 679     4679    3       | 5       279     278     |
 *-----------------------------------------------------------------------------*

Actually, [r7c6]=1 is a Hidden Single for [r7] and [b8]. It's always a good idea to perform all basic techniques before searching for more advanced techniques.
Back to top
View user's profile Send private message
Puzzler

Joined: 04 May 2009
Posts: 36
:

Items
PostPosted: Wed May 06, 2009 9:41 pm    Post subject: Bingo! Reply with quote

Yep, it was that little critter in [r7,c6]

I'll change my code to look for no more than four cells in a column or row, (depending on the search direction).

Thanks for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Programming sudoku All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Sudoku Programmers topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron