Generated on Fri Oct 19 11:26:08 2018 for Gecode by doxygen 1.6.3

Gecode::Int::Branch::ValCommitGr< View > Class Template Reference
[Integer value commit classes]

Value commit class for greater. More...

#include <branch.hh>

List of all members.

Public Member Functions

 ValCommitGr (Space &home, const ValBranch< Var > &vb)
 Constructor for initialization.
 ValCommitGr (Space &home, ValCommitGr &vc)
 Constructor for cloning.
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.
NGLngl (Space &home, unsigned int a, View x, int n) const
 Create no-good literal for alternative a.
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.

Detailed Description

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

Value commit class for greater.

Requires

Definition at line 575 of file branch.hh.


Constructor & Destructor Documentation

template<class View >
Gecode::Int::Branch::ValCommitGr< View >::ValCommitGr ( Space home,
const ValBranch< Var > &  vb 
) [inline]

Constructor for initialization.

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

template<class View >
Gecode::Int::Branch::ValCommitGr< View >::ValCommitGr ( Space home,
ValCommitGr< View > &  vc 
) [inline]

Constructor for cloning.

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


Member Function Documentation

template<class View >
ModEvent Gecode::Int::Branch::ValCommitGr< 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 133 of file val-commit.hpp.

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

Create no-good literal for alternative a.

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

template<class View >
void Gecode::Int::Branch::ValCommitGr< 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 146 of file val-commit.hpp.


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