Generated on Thu Mar 22 10:39:47 2012 for Gecode by doxygen 1.6.3

photo.cpp File Reference

(Revision: 11473)

#include <gecode/driver.hh>
#include <gecode/int.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 55 of file photo.cpp.

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 62 of file photo.cpp.

const PhotoSpec p_large(9, 17, l_prefs)

Large Photo example.