Generated on Thu Jul 6 07:06:52 2006 for Gecode by doxygen 1.4.7

picture-puzzle.cc File Reference

(Revision: 3271)

#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 n_examples = sizeof(specs)/sizeof(int*)
 Number of specifications.

Variables

const int * specs []
 List of specifications.
const unsigned int n_examples
 Number of specifications.


Variable Documentation

const int* specs[]

List of specifications.

Definition at line 475 of file picture-puzzle.cc.

const unsigned int n_examples

Number of specifications.

Definition at line 478 of file picture-puzzle.cc.

const int* specs[]

Initial value:

 {heart, bear, crocodile, unknown, 
                      pinwheel, difficult, non_unique, dragonfly, p200}
List of specifications.

Definition at line 475 of file picture-puzzle.cc.

const unsigned n_examples = sizeof(specs)/sizeof(int*)

Number of specifications.

Definition at line 478 of file picture-puzzle.cc.