Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0

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

#include <branch.hh>

Public Member Functions

 ValSelGq (Space &home, const ValBranch< Var > &vb)
 Constructor for initialization.
 ValSelGq (Space &home, ValSelGq &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.
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 241 of file branch.hh.

Constructor & Destructor Documentation

◆ ValSelGq() [1/2]

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

Constructor for initialization.

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

◆ ValSelGq() [2/2]

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

Constructor for cloning.

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

Member Function Documentation

◆ val()

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

Return value of view x at position i.

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


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