Generated on Fri Oct 19 11:25:44 2018 for Gecode by doxygen 1.6.3

Gecode::FloatCHB Class Reference
[Branching on float variables]

Recording CHB for float variables. More...

#include <float.hh>

List of all members.

Public Member Functions

 FloatCHB (void)
 Construct as not yet initialized.
 FloatCHB (const FloatCHB &chb)
 Copy constructor.
FloatCHBoperator= (const FloatCHB &chb)
 Assignment operator.
 FloatCHB (Home home, const FloatVarArgs &x, FloatBranchMerit bm=nullptr)
 Initialize for float variables x.
void init (Home home, const FloatVarArgs &x, FloatBranchMerit bm=nullptr)
 Initialize for float variables x.

Detailed Description

Recording CHB for float variables.

Definition at line 1607 of file float.hh.


Constructor & Destructor Documentation

Gecode::FloatCHB::FloatCHB ( void   )  [inline]

Construct as not yet initialized.

The only member functions that can be used on a constructed but not yet initialized CHB storage is init or the assignment operator.

Definition at line 37 of file chb.hpp.

Gecode::FloatCHB::FloatCHB ( const FloatCHB chb  )  [inline]

Copy constructor.

Definition at line 40 of file chb.hpp.

Gecode::FloatCHB::FloatCHB ( Home  home,
const FloatVarArgs x,
FloatBranchMerit  bm = nullptr 
)

Initialize for float variables x.

If the branch merit function bm is different from nullptr, the action for each variable is initialized with the merit returned by bm.

Definition at line 38 of file chb.cpp.


Member Function Documentation

FloatCHB & Gecode::FloatCHB::operator= ( const FloatCHB chb  )  [inline]

Assignment operator.

Definition at line 44 of file chb.hpp.

void Gecode::FloatCHB::init ( Home  home,
const FloatVarArgs x,
FloatBranchMerit  bm = nullptr 
)

Initialize for float variables x.

If the branch merit function bm is different from nullptr, the action for each variable is initialized with the merit returned by bm.

This member function can only be used once and only if the action storage has been constructed with the default constructor.

Definition at line 44 of file chb.cpp.


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