Public Types | Public Member Functions | Public Attributes
Clasp::CBConsequences::CBFinder Class Reference
Inheritance diagram for Clasp::CBConsequences::CBFinder:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Solver::ConstraintDB ConstraintDB
typedef
CBConsequences::SharedConstraint 
SharedCon
typedef SharedLiterals SharedLits

Public Member Functions

 CBFinder (Solver &s, MinimizeConstraint *min, SharedCon *sh)
ConstraintcloneAttach (Solver &s)
 Returns a clone of this and adds necessary watches to the given solver.
void destroy (Solver *s, bool detach)
 Default is to call delete this.
void doCommitModel (Enumerator &ctx, Solver &s)
bool doUpdate (Solver &s)
void pushLocked (Solver &s, ClauseHead *h)

Public Attributes

LitVec current
SharedLitslast
ConstraintDB locked
SharedConshared

Detailed Description

Definition at line 51 of file cb_enumerator.cpp.


Member Typedef Documentation

Definition at line 54 of file cb_enumerator.cpp.

Definition at line 53 of file cb_enumerator.cpp.

Definition at line 55 of file cb_enumerator.cpp.


Constructor & Destructor Documentation

Definition at line 56 of file cb_enumerator.cpp.


Member Function Documentation

Returns a clone of this and adds necessary watches to the given solver.

The function shall create and return a copy of this constraint to be used in the given solver. Furthermore, it shall add necessary watches to the given solver.

Note:
Return 0 to indicate that cloning is not supported.

Implements Clasp::Constraint.

Definition at line 59 of file cb_enumerator.cpp.

void Clasp::CBConsequences::CBFinder::destroy ( Solver s,
bool  detach 
) [virtual]

Default is to call delete this.

Reimplemented from Clasp::EnumerationConstraint.

Definition at line 152 of file cb_enumerator.cpp.

void Clasp::CBConsequences::CBFinder::doCommitModel ( Enumerator ctx,
Solver s 
) [inline, virtual]

Reimplemented from Clasp::EnumerationConstraint.

Definition at line 60 of file cb_enumerator.cpp.

Implements Clasp::EnumerationConstraint.

Definition at line 166 of file cb_enumerator.cpp.

Definition at line 159 of file cb_enumerator.cpp.


Member Data Documentation

Definition at line 64 of file cb_enumerator.cpp.

Definition at line 66 of file cb_enumerator.cpp.

Definition at line 67 of file cb_enumerator.cpp.

Definition at line 65 of file cb_enumerator.cpp.


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


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:40