Generated on Thu Apr 11 13:59:49 2019 for Gecode by doxygen 1.6.3

Gecode::SetAction Class Reference
[Branching]

Recording actions for set variables. More...

#include <set.hh>

List of all members.

Public Member Functions

 SetAction (void)
 Construct as not yet initialized.
 SetAction (const SetAction &a)
 Copy constructor.
SetActionoperator= (const SetAction &a)
 Assignment operator.
 SetAction (Home home, const SetVarArgs &x, double d=1.0, SetBranchMerit bm=nullptr)
 Initialize for set variables x with decay factor d.
void init (Home home, const SetVarArgs &x, double d=1.0, SetBranchMerit bm=nullptr)
 Initialize for set variables x with decay factor d.

Detailed Description

Recording actions for set variables.

Definition at line 1183 of file set.hh.


Constructor & Destructor Documentation

Gecode::SetAction::SetAction ( 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::SetAction::SetAction ( const SetAction a  )  [inline]

Copy constructor.

Definition at line 40 of file action.hpp.

Gecode::SetAction::SetAction ( Home  home,
const SetVarArgs x,
double  d = 1.0,
SetBranchMerit  bm = nullptr 
)

Initialize for set 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

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

Assignment operator.

Definition at line 44 of file action.hpp.

void Gecode::SetAction::init ( Home  home,
const SetVarArgs x,
double  d = 1.0,
SetBranchMerit  bm = nullptr 
)

Initialize for set 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: