Generated on Sat Feb 7 2015 02:01:33 for Gecode by doxygen 1.8.9.1
photo.cpp File Reference

(Revision: 13820)

#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. More...
 
const PhotoSpec p_small (5, 8, s_prefs)
 Small Photo example. More...
 
const int l_prefs []
 Preferences for large example. More...
 
const PhotoSpec p_large (9, 17, l_prefs)
 Large Photo example. More...
 

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.