A type for storing the result of a clause insertion operation. More...
#include <clause.h>
Public Member Functions | |
bool | ok () const |
Returns false is clause is conflicting w.r.t current assignment. | |
operator bool () const | |
Result (ClauseHead *loc=0, Status st=status_open) | |
bool | unit () const |
Returns true if the clause implies a literal (possibly after backtracking). | |
Public Attributes | |
ClauseHead * | local |
Status | status |
A type for storing the result of a clause insertion operation.
Clasp::ClauseCreator::Result::Result | ( | ClauseHead * | loc = 0 , |
Status | st = status_open |
||
) | [inline, explicit] |
bool Clasp::ClauseCreator::Result::ok | ( | ) | const [inline] |
Clasp::ClauseCreator::Result::operator bool | ( | ) | const [inline] |
bool Clasp::ClauseCreator::Result::unit | ( | ) | const [inline] |