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

Gecode::Int::Branch::NqNGL< View > Class Template Reference

No-good literal for disequality. More...

#include <branch.hh>

List of all members.

Public Member Functions

 NqNGL (Space &home, View x, int n)
 Constructor for creation.
 NqNGL (Space &home, NqNGL &ngl)
 Constructor for cloning ngl.
virtual NGL::Status status (const Space &home) const
 Test the status of the no-good literal.
virtual ExecStatus prune (Space &home)
 Propagate the negation of the no-good literal.
virtual NGLcopy (Space &home)
 Create copy.

Detailed Description

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

No-good literal for disequality.

Definition at line 429 of file branch.hh.


Constructor & Destructor Documentation

template<class View >
Gecode::Int::Branch::NqNGL< View >::NqNGL ( Space home,
View  x,
int  n 
) [inline]

Constructor for creation.

Definition at line 66 of file ngl.hpp.

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

Constructor for cloning ngl.

Definition at line 70 of file ngl.hpp.


Member Function Documentation

template<class View >
NGL::Status Gecode::Int::Branch::NqNGL< View >::status ( const Space home  )  const [inline, virtual]

Test the status of the no-good literal.

Implements Gecode::NGL.

Definition at line 79 of file ngl.hpp.

template<class View >
ExecStatus Gecode::Int::Branch::NqNGL< View >::prune ( Space home  )  [inline, virtual]

Propagate the negation of the no-good literal.

Implements Gecode::NGL.

Definition at line 87 of file ngl.hpp.

template<class View >
NGL * Gecode::Int::Branch::NqNGL< View >::copy ( Space home  )  [inline, virtual]

Create copy.

Implements Gecode::NGL.

Definition at line 74 of file ngl.hpp.


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