Generated on Thu Apr 5 2018 19:44:19 for Gecode by doxygen 1.8.13
PhotoSpec Class Reference

Specifications for photo example. More...

Public Member Functions

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

Protected Attributes

const int * data
 Array of data. More...
 

Detailed Description

Specifications for photo example.

Definition at line 49 of file photo.cpp.

Constructor & Destructor Documentation

◆ PhotoSpec()

PhotoSpec::PhotoSpec ( int  i)
inline

Initialize.

Definition at line 55 of file photo.cpp.

Member Function Documentation

◆ people()

int PhotoSpec::people ( void  ) const
inline

Return number of people.

Definition at line 57 of file photo.cpp.

◆ preferences()

int PhotoSpec::preferences ( void  ) const
inline

Return number of preferences.

Definition at line 61 of file photo.cpp.

◆ preference()

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

Access preference p with position i.

Definition at line 65 of file photo.cpp.

Member Data Documentation

◆ data

const int* PhotoSpec::data
protected

Array of data.

Definition at line 52 of file photo.cpp.


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