dlvhex
2.5.0
|
Stores for a given ordinary atom where it occurs. More...
#include <include/dlvhex2/DependencyGraph.h>
Public Member Functions | |
HeadBodyInfo (const OrdinaryAtom *oatom=NULL) | |
Constructor. | |
Data Fields | |
ID | id |
Ordinary ground or nonground atom id. | |
bool | inHead |
True if id occurs in a head. | |
bool | inBody |
True if id occurs in a body. | |
NodeList | inHeadOfNondisjunctiveRules |
True if id occurs in the head of a nondisjunctive rule. | |
NodeList | inHeadOfDisjunctiveRules |
True if id occurs in the head of a disjunctive rule. | |
NodeList | inPosBodyOfRegularRules |
True if id occurs in the positive body of a rule which is not a constraint. | |
NodeList | inPosBodyOfConstraints |
True if id occurs in the positive body of a constraint. | |
NodeList | inNegBodyOfRules |
True if id occurs in the negative body of any rule (regular and constraint). | |
ID | headPredicate |
Predicate of the atom; only specified if inHead is true. | |
const OrdinaryAtom * | oatom |
Pointer to the original OrdinaryAtom. |
Stores for a given ordinary atom where it occurs.
Definition at line 212 of file DependencyGraph.h.
DependencyGraph::HeadBodyInfo::HeadBodyInfo | ( | const OrdinaryAtom * | oatom = NULL | ) | [inline] |
Constructor.
oatom | See HeadBodyInfo::oatom. |
Definition at line 237 of file DependencyGraph.h.
Predicate of the atom; only specified if inHead is true.
Definition at line 231 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForRuleAddHead().
Ordinary ground or nonground atom id.
Definition at line 215 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForBody(), and DependencyGraph::createNodesAndIntraRuleDependenciesForRuleAddHead().
True if id
occurs in a body.
Definition at line 219 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForBody().
True if id
occurs in a head.
Definition at line 217 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForRuleAddHead().
True if id
occurs in the head of a disjunctive rule.
Definition at line 223 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForRuleAddHead().
True if id
occurs in the head of a nondisjunctive rule.
Definition at line 221 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForRuleAddHead().
True if id
occurs in the negative body of any rule (regular and constraint).
Definition at line 229 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForBody().
True if id
occurs in the positive body of a constraint.
Definition at line 227 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForBody().
True if id
occurs in the positive body of a rule which is not a constraint.
Definition at line 225 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForBody().
Pointer to the original OrdinaryAtom.
Definition at line 233 of file DependencyGraph.h.
Referenced by DependencyGraph::createNodesAndIntraRuleDependenciesForRuleAddHead().