Generated on Sat Feb 7 2015 02:01:51 for Gecode by doxygen 1.8.9.1
Gecode::Set::Branch::ValSelMax Class Reference

Value selection class for maximum of view. More...

#include <branch.hh>

Public Member Functions

 ValSelMax (Space &home, const ValBranch &vb)
 Constructor for initialization. More...
 
 ValSelMax (Space &home, bool shared, ValSelMax &vs)
 Constructor for cloning. More...
 
int val (const Space &home, SetView x, int i)
 Return value of view x at position i. More...
 
- Public Member Functions inherited from Gecode::ValSel< SetView, int >
 ValSel (Space &home, const ValBranch &vb)
 Constructor for initialization. More...
 
 ValSel (Space &home, bool shared, ValSel< View, Val > &vs)
 Constructor for cloning. More...
 
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed) More...
 
void dispose (Space &home)
 Delete value selection. More...
 

Additional Inherited Members

- Public Types inherited from Gecode::ValSel< SetView, int >
typedef SetView View
 View type. More...
 
typedef int Val
 Value type. More...
 

Detailed Description

Value selection class for maximum of view.

Requires

Definition at line 226 of file branch.hh.

Constructor & Destructor Documentation

Gecode::Set::Branch::ValSelMax::ValSelMax ( Space home,
const ValBranch vb 
)
inline

Constructor for initialization.

Definition at line 59 of file val-sel.hpp.

Gecode::Set::Branch::ValSelMax::ValSelMax ( Space home,
bool  shared,
ValSelMax vs 
)
inline

Constructor for cloning.

Definition at line 62 of file val-sel.hpp.

Member Function Documentation

int Gecode::Set::Branch::ValSelMax::val ( const Space home,
SetView  x,
int  i 
)
inline

Return value of view x at position i.

Definition at line 65 of file val-sel.hpp.


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