picture-puzzle.cc File Reference
(Revision: 3517)
#include "examples/support.hh"
#include "gecode/minimodel.hh"
Go to the source code of this file.
Classes | |
class | PicturePuzzle |
Example: Picture puzzles More... | |
Picture specifications | |
A specification is given by a list of integers. The first two integers (w and h) specify the number of columns and rows respectively. Then w + h groups of integers follows. Each group is started by the number of integers it contains (n), followed by n integers specifying the sizes of the stretches of markers in that row/column. | |
const int * | specs [] |
List of specifications. | |
const unsigned int | n_examples = sizeof(specs)/sizeof(int*) |
Number of specifications. |
Variable Documentation
|
Initial value: {heart, bear, crocodile, unknown, pinwheel, difficult, non_unique, dragonfly, p200}
Definition at line 475 of file picture-puzzle.cc. |
|
Number of specifications.
Definition at line 478 of file picture-puzzle.cc. |