The atk puzzle interface is the display of black cells for me is horrible, and not exactly printer friendly! Makes me wonder whether atk has shares in a laser cartridge company!
Is there some way I can get the display mode to change?
denis_berthier wrote:One think you need to know about atk is, the puzzles are not generated online but randomly chosen from a predefined database.
Indeed, considering their patterns of black cells, there is almost no chance for their puzzles to be generated fully automatically.
Mathimagics wrote:I did some analysis of the probability P(N,D) of getting a grid of NxN cells using D symbols, and that system being unique.
Mathimagics wrote:The atk puzzle interface is the display of black cells for me is horrible, and not exactly printer friendly! Makes me wonder whether atk has shares in a laser cartridge company!
Is there some way I can get the display mode to change?
Mathimagics wrote:denis_berthier wrote:One think you need to know about atk is, the puzzles are not generated online but randomly chosen from a predefined database.
Indeed, considering their patterns of black cells, there is almost no chance for their puzzles to be generated fully automatically.
Are you sure? Have you been there lately?
If you have "database" check flag set, it looks for "puzzle id" in the database.
If you have "database" unchecked, it definitely looks like its running a generator, one that appears from the progress bar to be a progressive generation with backtracking. It takes some time for large hard puzzles to generate (but impressively, not that long!)
Mathimagics wrote: I somehow got hooked up to the site linked at the top of this thread! [...]But it does look like he is definitely doing generation, as I described ...
Mathimagics wrote:You remember that the original idea was to demonstrate the unlikelihood of getting a useful Kakuro puzzle out of a random generator, ie. by generating a valid grid at random and then calculating the block sums, hoping to stumble across one that is well-formed, ie unique for those blocksums
The only way I could easily do that was to take an NxN grid, all cells being white, with "vsums" being the sum of each column, and "hsum" the sum of each row. I generate all the valid squares, write them to a file and then sort them by the row/column sums. I then load the sorted file and only then can I tell which sum combinations are unique, and thus get a reasonable estimate of the probability of a random square being a unique combination, by counting the number of sum combinations that were unique.
denis_berthier wrote:OK, now I understand. But I don't know if it allows any conclusion about real Kakuros with inner black cells.
Mathimagics wrote:I think we can agree that the number of well-formed puzzles for a given empty grid (black cell distribution) is tiny compared to the number of valid grids, ie. white squares all filled in subject to "all different within a block" rule. In fact I think it can be shown to be infinitesmally small.
Mathimagics wrote:I agree that increasing black cell density eventually leads to a diminishing number of possible states, but that doesn't mean the relationship is linear!