6 #include "../sort/SortManager.h"
29 assert(indices !=
nullptr && indices->size() == 1 && indices->front() > 0);
55 std::string
toString(
bool _friendlyNames)
const {
95 struct hash<
carl::BVVariable> {
carl is the main namespace for the library.
bool operator<(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
bool operator==(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
A Variable represents an algebraic variable that can be used throughout carl.
static const Variable NO_VARIABLE
Instance of an invalid variable.
Specialization of std::hash for Variable.
std::string get_name(Variable v, bool variableName=true) const
Get a human-readable name for the given variable.
static SortManager & getInstance()
Returns the single instance of this class by reference.
Represent a BitVector-Variable.
const Sort & sort() const
std::string toString(bool _friendlyNames) const
BVVariable(Variable _variable, const Sort &_sort)
std::size_t width() const
Variable variable() const
friend std::ostream & operator<<(std::ostream &os, const BVVariable &v)
Print the given bit vector variable on the given output stream.
std::size_t operator()(const carl::BVVariable &v) const
Implements a sort (for defining types of variables and functions).
const std::vector< std::size_t > * getIndices(const Sort &sort) const