Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
Gecode::Int::Branch::ValSelMin< View > Class Template Reference

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

#include <branch.hh>

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from Gecode::ValSel< View, int >
typedef View View
 View type.
 
typedef View::VarType Var
 Corresponding variable type.
 
typedef int Val
 Value type.
 

Detailed Description

template<class View>
class Gecode::Int::Branch::ValSelMin< View >

Value selection class for mimimum of view.

Requires

Definition at line 281 of file branch.hh.

Constructor & Destructor Documentation

◆ ValSelMin() [1/2]

template<class View >
Gecode::Int::Branch::ValSelMin< View >::ValSelMin ( Space & home,
const ValBranch< Var > & vb )

Constructor for initialization.

◆ ValSelMin() [2/2]

template<class View >
Gecode::Int::Branch::ValSelMin< View >::ValSelMin ( Space & home,
ValSelMin< View > & vs )
inline

Constructor for cloning.

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

Member Function Documentation

◆ val()

template<class View >
int Gecode::Int::Branch::ValSelMin< View >::val ( const Space & home,
View x,
int i )
inline

Return value of view x at position i.

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


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