Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::FlatZinc::MeritMaxAFCSize Class Reference

Select by maximal AFC over size. More...

#include <branch.hh>

Public Member Functions

 MeritMaxAFCSize (Space &home, const IntBoolVarBranch &ibvb)
 Constructor for initialization.
 MeritMaxAFCSize (Space &home, MeritMaxAFCSize &m)
 Constructor for cloning.
double operator() (Int::IntView x, int i) const
 Return merit.
double operator() (Int::BoolView x, int i) const
 Return merit.
void dispose (void)
 Dispose.

Protected Attributes

IntAFC iafc
 Integer AFC information.
BoolAFC bafc
 Boolean AFC information.

Detailed Description

Select by maximal AFC over size.

Definition at line 146 of file branch.hh.

Constructor & Destructor Documentation

◆ MeritMaxAFCSize() [1/2]

Gecode::FlatZinc::MeritMaxAFCSize::MeritMaxAFCSize ( Space & home,
const IntBoolVarBranch & ibvb )
inline

Constructor for initialization.

Definition at line 186 of file branch.hpp.

◆ MeritMaxAFCSize() [2/2]

Gecode::FlatZinc::MeritMaxAFCSize::MeritMaxAFCSize ( Space & home,
MeritMaxAFCSize & m )
inline

Constructor for cloning.

Definition at line 189 of file branch.hpp.

Member Function Documentation

◆ operator()() [1/2]

double Gecode::FlatZinc::MeritMaxAFCSize::operator() ( Int::IntView x,
int i ) const
inline

Return merit.

Definition at line 192 of file branch.hpp.

◆ operator()() [2/2]

double Gecode::FlatZinc::MeritMaxAFCSize::operator() ( Int::BoolView x,
int i ) const
inline

Return merit.

Definition at line 196 of file branch.hpp.

◆ dispose()

void Gecode::FlatZinc::MeritMaxAFCSize::dispose ( void )
inline

Dispose.

Definition at line 200 of file branch.hpp.

Member Data Documentation

◆ iafc

IntAFC Gecode::FlatZinc::MeritMaxAFCSize::iafc
protected

Integer AFC information.

Definition at line 149 of file branch.hh.

◆ bafc

BoolAFC Gecode::FlatZinc::MeritMaxAFCSize::bafc
protected

Boolean AFC information.

Definition at line 151 of file branch.hh.


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