Clingo
|
A literal ensuring that a list of terms evaluates. More...
#include <literal.hh>
Additional Inherited Members | |
![]() | |
virtual | ~Lit ()=default |
Destroy the literal. | |
void | vars (VariableSet &vars, VarSelectMode mode) const |
Get the variables in the predicate. | |
auto | domain () const -> bool |
Returns true if matching literals are always fact. | |
auto | single_pass () const -> bool |
Returns true if the literal can be grounded in a single pass. | |
auto | matcher (std::pmr::monotonic_buffer_resource &mbr, MatcherType type, std::vector< bool > const &bound) -> std::pair< UMatcher, std::optional< size_t > > |
Returns true if the base of the literal is complete at the time of grounding. | |
auto | score (std::vector< bool > const &bound) const -> double |
Compute a score used to order rule bodies. | |
auto | output (EvalContext const &ctx, OutputLit &out) const -> bool |
Output the literal. | |
auto | copy () const -> ULit |
Copy the literal. | |
auto | hash () const -> size_t |
Compute a hash for the literal. | |
A literal ensuring that a list of terms evaluates.