Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Int::Branch::ValCommitGq< View > Class Template Reference

Value commit class for greater or equal. More...

#include <branch.hh>

Public Member Functions

 ValCommitGq (Space &home, const ValBranch< Var > &vb)
 Constructor for initialization.
 ValCommitGq (Space &home, ValCommitGq &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.
Public Member Functions inherited from Gecode::ValCommit< View, int >
 ValCommit (Space &home, const ValBranch< Var > &vb)
 Constructor for initialization.
bool notice (void) const
 Whether dispose must always be called (that is, notice is needed)
void dispose (Space &home)
 Delete value commit.

Additional Inherited Members

Public Types inherited from Gecode::ValCommit< View, int >
typedef View View
 View type.
typedef View::VarType Var
 Corresponding variable type.
typedef int Val
 Value type.

Detailed Description

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

Value commit class for greater or equal.

Requires

Definition at line 552 of file branch.hh.

Constructor & Destructor Documentation

◆ ValCommitGq() [1/2]

template<class View>
Gecode::Int::Branch::ValCommitGq< View >::ValCommitGq ( Space & home,
const ValBranch< Var > & vb )

Constructor for initialization.

◆ ValCommitGq() [2/2]

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

Constructor for cloning.

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

Member Function Documentation

◆ commit()

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

◆ ngl()

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

Create no-good literal for alternative a.

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

◆ print()

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


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