Generated on Thu Apr 11 13:59:40 2019 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)
 Initialize.
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]

Initialize.

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: