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

Gecode::IntAction Class Reference
[Branching]

Recording actions for integer variables. More...

#include <int.hh>

List of all members.

Public Member Functions

 IntAction (void)
 Construct as not yet initialized.
 IntAction (const IntAction &a)
 Copy constructor.
IntActionoperator= (const IntAction &a)
 Assignment operator.
 IntAction (Home home, const IntVarArgs &x, double d=1.0, IntBranchMerit bm=nullptr)
 Initialize for integer variables x with decay factor d.
void init (Home home, const IntVarArgs &x, double d=1.0, IntBranchMerit bm=nullptr)
 Initialize for integer variables x with decay factor d.

Detailed Description

Recording actions for integer variables.

Definition at line 4299 of file int.hh.


Constructor & Destructor Documentation

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

Construct as not yet initialized.

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

Definition at line 37 of file action.hpp.

Gecode::IntAction::IntAction ( const IntAction a  )  [inline]

Copy constructor.

Definition at line 40 of file action.hpp.

Gecode::IntAction::IntAction ( Home  home,
const IntVarArgs x,
double  d = 1.0,
IntBranchMerit  bm = nullptr 
)

Initialize for integer variables x with decay factor d.

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 action.cpp.


Member Function Documentation

IntAction & Gecode::IntAction::operator= ( const IntAction a  )  [inline]

Assignment operator.

Definition at line 44 of file action.hpp.

void Gecode::IntAction::init ( Home  home,
const IntVarArgs x,
double  d = 1.0,
IntBranchMerit  bm = nullptr 
)

Initialize for integer variables x with decay factor d.

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 45 of file action.cpp.


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