photo.cpp File Reference
(Revision: 8649)
#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
}
Definition at line 55 of file photo.cpp.
| 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
}
Definition at line 62 of file photo.cpp.
