Gecode::Int::Branch::EqNGL< View > Class Template Reference
No-good literal for equality. More...
#include <branch.hh>
Public Member Functions | |
EqNGL (Space &home, View x, int n) | |
Constructor for creation. | |
EqNGL (Space &home, EqNGL &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 NGL * | copy (Space &home) |
Create copy. |
Detailed Description
template<class View>
class Gecode::Int::Branch::EqNGL< View >
No-good literal for equality.
Definition at line 411 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Branch::EqNGL< View >::EqNGL | ( | Space & | home, | |
View | x, | |||
int | n | |||
) | [inline] |
template<class View >
Gecode::Int::Branch::EqNGL< View >::EqNGL | ( | Space & | home, | |
EqNGL< View > & | ngl | |||
) | [inline] |
Member Function Documentation
template<class View >
NGL::Status Gecode::Int::Branch::EqNGL< View >::status | ( | const Space & | home | ) | const [inline, virtual] |
Test the status of the no-good literal.
Implements Gecode::NGL.
template<class View >
ExecStatus Gecode::Int::Branch::EqNGL< View >::prune | ( | Space & | home | ) | [inline, virtual] |
Propagate the negation of the no-good literal.
Implements Gecode::NGL.
template<class View >
NGL * Gecode::Int::Branch::EqNGL< View >::copy | ( | Space & | home | ) | [inline, virtual] |
The documentation for this class was generated from the following files: