Used during rule simplification.
More...
#include <logic_program_types.h>
Used during rule simplification.
Clasp::Asp::RuleState::RuleState |
( |
| ) |
|
|
inline |
void Clasp::Asp::RuleState::addToBody |
( |
Literal |
p | ) |
|
|
inline |
Mark p as a literal contained in the active rule.
void Clasp::Asp::RuleState::addToHead |
( |
Var |
v | ) |
|
|
inline |
Mark v as a head of the active rule.
void Clasp::Asp::RuleState::addToHead |
( |
PrgEdge |
t | ) |
|
|
inline |
bool Clasp::Asp::RuleState::allMarked |
( |
const VarVec & |
vec, |
|
|
uint8 |
f |
|
) |
| const |
|
inline |
void Clasp::Asp::RuleState::clear |
( |
Var |
v, |
|
|
uint8 |
f |
|
) |
| |
|
inline |
void Clasp::Asp::RuleState::clear |
( |
Var |
v | ) |
|
|
inline |
void Clasp::Asp::RuleState::clearAll |
( |
| ) |
|
|
inline |
void Clasp::Asp::RuleState::clearBody |
( |
Literal |
p | ) |
|
|
inline |
void Clasp::Asp::RuleState::clearHead |
( |
PrgEdge |
t | ) |
|
|
inline |
bool Clasp::Asp::RuleState::inBody |
( |
Literal |
p | ) |
const |
|
inline |
Does p appear in the body of the active rule?
bool Clasp::Asp::RuleState::inHead |
( |
PrgEdge |
t | ) |
const |
|
inline |
Does t.node() appear in the head of the active rule?
bool Clasp::Asp::RuleState::isSet |
( |
Var |
v, |
|
|
uint8 |
f |
|
) |
| const |
|
inline |
void Clasp::Asp::RuleState::set |
( |
Var |
v, |
|
|
uint8 |
f |
|
) |
| |
|
inline |
const uint8 Clasp::Asp::RuleState::any_flag = 0xFFu |
|
static |
const uint8 Clasp::Asp::RuleState::choice_flag = 0x1u << 3u |
|
static |
const uint8 Clasp::Asp::RuleState::disj_flag = 0x1u << 4u |
|
static |
const uint8 Clasp::Asp::RuleState::head_flag = 0x1u << 2u |
|
static |
const uint8 Clasp::Asp::RuleState::neg_flag = 0x2u |
|
static |
const uint8 Clasp::Asp::RuleState::pos_flag = 0x1u |
|
static |
The documentation for this class was generated from the following file: