Generated on Fri May 4 2012 13:52:01 for Gecode by doxygen 1.7.6.1
Test::Int::Cumulatives::CumulativeAssignment Class Reference

Class for generating reasonable assignments. More...

List of all members.

Public Member Functions

 CumulativeAssignment (int n, const Gecode::IntSet &d)
 Initialize assignments for n0 variables and values d0.
virtual bool operator() (void) const
 Test whether all assignments have been iterated
virtual void operator++ (void)
 Move to next assignment.
virtual int operator[] (int i) const
 Return value for variable i.
virtual ~CumulativeAssignment (void)
 Destructor.

Detailed Description

Class for generating reasonable assignments.

Definition at line 94 of file cumulatives.cpp.


Constructor & Destructor Documentation

Initialize assignments for n0 variables and values d0.

Definition at line 103 of file cumulatives.cpp.

Destructor.

Definition at line 127 of file cumulatives.cpp.


Member Function Documentation

virtual bool Test::Int::Cumulatives::CumulativeAssignment::operator() ( void  ) const [inline, virtual]

Test whether all assignments have been iterated

Implements Test::Int::Assignment.

Definition at line 112 of file cumulatives.cpp.

virtual void Test::Int::Cumulatives::CumulativeAssignment::operator++ ( void  ) [inline, virtual]

Move to next assignment.

Implements Test::Int::Assignment.

Definition at line 116 of file cumulatives.cpp.

virtual int Test::Int::Cumulatives::CumulativeAssignment::operator[] ( int  i) const [inline, virtual]

Return value for variable i.

Implements Test::Int::Assignment.

Definition at line 122 of file cumulatives.cpp.


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