Generated on Tue May 22 09:40:49 2018 for Gecode by doxygen 1.6.3

PhotoSpec Class Reference

Specifications for photo example. More...

List of all members.

Public Member Functions

 PhotoSpec (int i)
int people (void) const
 Return number of people.
int preferences (void) const
 Return number of preferences.
int preference (int p, int i) const
 Access preference p with position i.

Protected Attributes

const int * data
 Array of data.

Detailed Description

Specifications for photo example.

Definition at line 45 of file photo.cpp.

Constructor & Destructor Documentation

PhotoSpec::PhotoSpec ( int  i  )  [inline]


Definition at line 51 of file photo.cpp.

Member Function Documentation

int PhotoSpec::people ( void   )  const [inline]

Return number of people.

Definition at line 53 of file photo.cpp.

int PhotoSpec::preferences ( void   )  const [inline]

Return number of preferences.

Definition at line 57 of file photo.cpp.

int PhotoSpec::preference ( int  p,
int  i 
) const [inline]

Access preference p with position i.

Definition at line 61 of file photo.cpp.

Member Data Documentation

const int* PhotoSpec::data [protected]

Array of data.

Definition at line 48 of file photo.cpp.

The documentation for this class was generated from the following file: