Generated on Sat Feb 7 2015 02:01:46 for Gecode by doxygen 1.8.9.1
Gecode::Int::Branch::ValCommitEq< View > Class Template Reference

Value commit class for equality. More...

#include <branch.hh>

Public Member Functions

 ValCommitEq (Space &home, const ValBranch &vb)
 Constructor for initialization. More...
 
 ValCommitEq (Space &home, bool shared, ValCommitEq &vc)
 Constructor for cloning. More...
 
ModEvent commit (Space &home, unsigned int a, View x, int i, int n)
 Commit view x at position i to value n for alternative a. More...
 
NGLngl (Space &home, unsigned int a, View x, int n) const
 Create no-good literal for alternative a. More...
 
void print (const Space &home, unsigned int a, View x, int i, int n, std::ostream &o) const
 Print on o the alternative with view x at position i and value n. More...
 
- Public Member Functions inherited from Gecode::ValCommit< View, int >
 ValCommit (Space &home, const ValBranch &vb)
 Constructor for initialization. More...
 
 ValCommit (Space &home, bool shared, ValCommit< View, Val > &vs)
 Constructor for cloning. More...
 
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed) More...
 
void dispose (Space &home)
 Delete value commit. More...
 

Additional Inherited Members

- Public Types inherited from Gecode::ValCommit< View, int >
typedef View View
 View type. More...
 
typedef int Val
 Value type. More...
 

Detailed Description

template<class View>
class Gecode::Int::Branch::ValCommitEq< View >

Value commit class for equality.

Requires

Definition at line 516 of file branch.hh.

Constructor & Destructor Documentation

template<class View >
Gecode::Int::Branch::ValCommitEq< View >::ValCommitEq ( Space home,
const ValBranch vb 
)
inline

Constructor for initialization.

Definition at line 42 of file val-commit.hpp.

template<class View >
Gecode::Int::Branch::ValCommitEq< View >::ValCommitEq ( Space home,
bool  shared,
ValCommitEq< View > &  vc 
)
inline

Constructor for cloning.

Definition at line 46 of file val-commit.hpp.

Member Function Documentation

template<class View >
ModEvent Gecode::Int::Branch::ValCommitEq< View >::commit ( Space home,
unsigned int  a,
View  x,
int  i,
int  n 
)
inline

Commit view x at position i to value n for alternative a.

Definition at line 50 of file val-commit.hpp.

template<class View >
NGL * Gecode::Int::Branch::ValCommitEq< View >::ngl ( Space home,
unsigned int  a,
View  x,
int  n 
) const
inline

Create no-good literal for alternative a.

Definition at line 55 of file val-commit.hpp.

template<class View >
void Gecode::Int::Branch::ValCommitEq< View >::print ( const Space home,
unsigned int  a,
View  x,
int  i,
int  n,
std::ostream &  o 
) const
inline

Print on o the alternative with view x at position i and value n.

Definition at line 63 of file val-commit.hpp.


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