Public Member Functions | Public Attributes
Clasp::ClauseCreator::Result Struct Reference

A type for storing the result of a clause insertion operation. More...

#include <clause.h>

List of all members.

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

ClauseHeadlocal
Status status

Detailed Description

A type for storing the result of a clause insertion operation.

Definition at line 115 of file clause.h.


Constructor & Destructor Documentation

Clasp::ClauseCreator::Result::Result ( ClauseHead loc = 0,
Status  st = status_open 
) [inline, explicit]

Definition at line 116 of file clause.h.


Member Function Documentation

bool Clasp::ClauseCreator::Result::ok ( ) const [inline]

Returns false is clause is conflicting w.r.t current assignment.

Definition at line 122 of file clause.h.

Clasp::ClauseCreator::Result::operator bool ( ) const [inline]

Definition at line 125 of file clause.h.

bool Clasp::ClauseCreator::Result::unit ( ) const [inline]

Returns true if the clause implies a literal (possibly after backtracking).

Definition at line 124 of file clause.h.


Member Data Documentation

Definition at line 119 of file clause.h.

Definition at line 120 of file clause.h.


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


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