souffle
2.0.2-371-g6315b36
|
#include "souffle/TypeAttribute.h"
#include "souffle/utility/MiscUtil.h"
#include <iostream>
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
souffle | |
Macros | |
#define | COMPARE_CONSTRAINT(op) |
#define | COMPARE_CONSTRAINT_FLOAT_OR_RAW(op) |
#define | COMPARE_EQUALS(op) |
#define | COMPARE_OP(op) |
Functions | |
BinaryConstraintOp | souffle::convertOverloadedConstraint (const BinaryConstraintOp constraintOp, const TypeAttribute toType) |
Convert Constraint to work with requested type. More... | |
BinaryConstraintOp | souffle::convertStrictToNotEqualConstraint (const BinaryConstraintOp constraintOp) |
BinaryConstraintOp | souffle::convertStrictToWeakIneqConstraint (const BinaryConstraintOp constraintOp) |
std::vector< TypeAttribute > | souffle::getBinaryConstraintTypes (const BinaryConstraintOp op) |
Get type binary constraint operates on. More... | |
BinaryConstraintOp | souffle::getEqConstraint (const std::string &type) |
BinaryConstraintOp | souffle::getGreaterEqualConstraint (const std::string &type) |
BinaryConstraintOp | souffle::getGreaterThanConstraint (const std::string &type) |
BinaryConstraintOp | souffle::getLessEqualConstraint (const std::string &type) |
BinaryConstraintOp | souffle::getLessThanConstraint (const std::string &type) |
bool | souffle::isEqConstraint (const BinaryConstraintOp constraintOp) |
bool | souffle::isGreaterEqual (const BinaryConstraintOp constraintOp) |
bool | souffle::isGreaterThan (const BinaryConstraintOp constraintOp) |
bool | souffle::isInfixFunctorOp (const BinaryConstraintOp op) |
Determines whether a functor should be written using infix notation (e.g. More... | |
bool | souffle::isLessEqual (const BinaryConstraintOp constraintOp) |
bool | souffle::isLessThan (const BinaryConstraintOp constraintOp) |
bool | souffle::isOrderedBinaryConstraintOp (const BinaryConstraintOp op) |
Determines whether arguments of constraint are orderable. More... | |
bool | souffle::isOverloaded (const BinaryConstraintOp constraintOp) |
Utility function, informing whether constraint is overloaded. More... | |
bool | souffle::isStrictIneqConstraint (const BinaryConstraintOp constraintOp) |
bool | souffle::isWeakIneqConstraint (const BinaryConstraintOp constraintOp) |
BinaryConstraintOp | souffle::negatedConstraintOp (const BinaryConstraintOp op) |
Negated Constraint Operator Each operator requires a negated operator which is necessary for the expansion of complex rule bodies with disjunction and negation. More... | |
std::ostream & | souffle::operator<< (std::ostream &os, BinaryConstraintOp x) |
BinaryConstraintOp | souffle::toBinaryConstraintOp (const std::string &symbol) |
Converts symbolic representation of an operator to the operator. More... | |
char const * | souffle::toBinaryConstraintSymbol (const BinaryConstraintOp op) |
Converts operator to its symbolic representation. More... | |
#define COMPARE_CONSTRAINT | ( | op | ) |
#define COMPARE_CONSTRAINT_FLOAT_OR_RAW | ( | op | ) |
#define COMPARE_EQUALS | ( | op | ) |
#define COMPARE_OP | ( | op | ) |