Generated on Mon Aug 25 11:35:45 2008 for Gecode by doxygen 1.5.6

photo.cc File Reference

(Revision: 5524)

#include "examples/support.hh"
#include "gecode/minimodel.hh"

Go to the source code of this file.

Classes

class  PhotoSpec
 Specifications for the Photo example. More...
class  Photo
 Example: Placing people on a photo More...

Variables

const int s_prefs []
 Preferences for small example.
const PhotoSpec p_small (5, 8, s_prefs)
 Small Photo example.
const int l_prefs []
 Preferences for large example.
const PhotoSpec p_large (9, 17, l_prefs)
 Large Photo example.


Variable Documentation

const int s_prefs[]

Initial value:

 {
  0,2, 1,4, 2,3, 2,4, 3,0, 4,3, 4,0, 4,1
}
Preferences for small example.

Definition at line 52 of file photo.cc.

const PhotoSpec p_small(5, 8, s_prefs)

Small Photo example.

const int l_prefs[]

Initial value:

 {
  0,2, 0,4, 0,7, 1,4, 1,8, 2,3, 2,4, 3,0, 3,4,
  4,5, 4,0, 5,0, 5,8, 6,2, 6,7, 7,8, 7,6
}
Preferences for large example.

Definition at line 59 of file photo.cc.

const PhotoSpec p_large(9, 17, l_prefs)

Large Photo example.