Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0

Value selection class for values smaller than median of view. More...

#include <branch.hh>

Public Member Functions

 ValSelLq (Space &home, const ValBranch< Var > &vb)
 Constructor for initialization.
 
 ValSelLq (Space &home, ValSelLq &vs)
 Constructor for cloning.
 
FloatNumBranch val (const Space &home, FloatView x, int i)
 Return value of view x at position i.
 
- Public Member Functions inherited from Gecode::ValSel< FloatView, FloatNumBranch >
 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< FloatView, FloatNumBranch >
typedef FloatView View
 View type.
 
typedef View::VarType Var
 Corresponding variable type.
 
typedef FloatNumBranch Val
 Value type.
 

Detailed Description

Value selection class for values smaller than median of view.

Requires

Definition at line 225 of file branch.hh.

Constructor & Destructor Documentation

◆ ValSelLq() [1/2]

Gecode::Float::Branch::ValSelLq::ValSelLq ( Space & home,
const ValBranch< Var > & vb )
inline

Constructor for initialization.

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

◆ ValSelLq() [2/2]

Gecode::Float::Branch::ValSelLq::ValSelLq ( Space & home,
ValSelLq & vs )
inline

Constructor for cloning.

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

Member Function Documentation

◆ val()

FloatNumBranch Gecode::Float::Branch::ValSelLq::val ( const Space & home,
FloatView x,
int i )
inline

Return value of view x at position i.

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


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