|
enum class | CppClingo::Sign : uint8_t { Sign::none
, Sign::once
, Sign::twice
} |
| Enumeration of signs (default negation). More...
|
|
enum class | CppClingo::Relation : uint8_t {
Relation::equal
, Relation::not_equal
, Relation::less
, Relation::less_equal
,
Relation::greater
, Relation::greater_equal
} |
| Enumeration of supported relations. More...
|
|
enum class | CppClingo::TruthValue : uint8_t { TruthValue::top
, TruthValue::bot
, TruthValue::unknown
} |
| Truth values for expressions. More...
|
|
enum class | CppClingo::AggregateFunction : uint8_t {
count
, AggregateFunction::sum
, AggregateFunction::sump
, AggregateFunction::min
,
AggregateFunction::max
} |
| Enumeration of aggregate functions. More...
|
|
enum class | TheoryTermTupleType : uint8_t |
| Enumeration of theory term tuple types.
|
|
enum class | CppClingo::HeuristicType : uint8_t {
level = 0
, sign = 1
, factor = 2
, init = 3
,
true_ = 4
, false_ = 5
} |
| Available heuristic types.
|
|
enum class | CppClingo::ExternalType : uint8_t { free = 0
, true_ = 1
, false_ = 2
, release = 3
} |
| Available external types.
|
|
|
auto | CppClingo::operator- (Sign a) -> Sign |
| Negate the sign.
|
|
auto | CppClingo::operator+ (Sign a, Sign b) -> Sign |
| Combine two signs.
|
|
auto | CppClingo::operator+= (Sign &a, Sign b) -> Sign & |
| Combine two signs.
|
|
auto | CppClingo::operator<< (std::ostream &out, Sign sign) -> std::ostream & |
| Output the given sign.
|
|
auto | CppClingo::operator<< (Util::OutputBuffer &out, Sign sign) -> Util::OutputBuffer & |
| Output the given sign.
|
|
auto | CppClingo::flip (Relation rel) -> Relation |
| Return the equivalent relation when arguments are flipped.
|
|
auto | CppClingo::complement (Relation rel) -> Relation |
| Return the complement of the given relation.
|
|
auto | CppClingo::evaluate (auto const &lhs, Relation rel, auto const &rhs) -> bool |
| Evaluate the comparison.
|
|
auto | CppClingo::operator<< (std::ostream &out, Relation rel) -> std::ostream & |
| Output the given relation.
|
|
auto | CppClingo::operator<< (Util::OutputBuffer &out, Relation rel) -> Util::OutputBuffer & |
| Output the given relation.
|
|
auto | CppClingo::operator<< (std::ostream &out, AggregateFunction fun) -> std::ostream & |
| Output the given aggregate function.
|
|
auto | CppClingo::operator<< (Util::OutputBuffer &out, AggregateFunction fun) -> Util::OutputBuffer & |
| Output the given aggregate function.
|
|
auto | CppClingo::neutral_val (AggregateFunction fun) -> Symbol |
| Get the neutral value for the given aggregate function.
|
|
auto | CppClingo::neutral_num (AggregateFunction fun) -> std::variant< Number, Symbol > |
| Get the neutral value or number for the given aggregate function.
|
|
auto | CppClingo::relevant_val (AggregateFunction fun, Symbol sym) -> bool |
| Check if the symbol is relevant for the given aggregate function.
|
|
auto | CppClingo::operator<< (Util::OutputBuffer &out, HeuristicType type) -> Util::OutputBuffer & |
| Output the given heuristic type.
|
|
auto | CppClingo::operator<< (Util::OutputBuffer &out, ExternalType type) -> Util::OutputBuffer & |
| Output the given external type.
|
|
Library for core functionality.