Generated on Tue Apr 18 10:23:21 2017 for Gecode by doxygen 1.6.3

Gecode::IntMaximizeSpace Class Reference
[Support for cost-based optimization]

Class for maximizing integer cost. More...

#include <minimodel.hh>

List of all members.

Public Member Functions

 IntMaximizeSpace (void)
 Default constructor.
 IntMaximizeSpace (bool share, IntMaximizeSpace &s)
 Constructor for cloning.
virtual void constrain (const Space &best)
 Member function constraining according to increasing cost.
virtual IntVar cost (void) const =0
 Return variable with current cost.

Detailed Description

Class for maximizing integer cost.

Definition at line 2224 of file minimodel.hh.

Constructor & Destructor Documentation

Gecode::IntMaximizeSpace::IntMaximizeSpace ( void   )  [inline]

Default constructor.

Definition at line 49 of file optimize.hpp.

Gecode::IntMaximizeSpace::IntMaximizeSpace ( bool  share,
IntMaximizeSpace s 
) [inline]

Constructor for cloning.

Definition at line 52 of file optimize.hpp.

Member Function Documentation

void Gecode::IntMaximizeSpace::constrain ( const Space best  )  [virtual]

Member function constraining according to increasing cost.

Reimplemented from Gecode::Space.

Definition at line 53 of file optimize.cpp.

virtual IntVar Gecode::IntMaximizeSpace::cost ( void   )  const [pure virtual]

Return variable with current cost.

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