14 return "b" + std::to_string(
id());
16 return "r" + std::to_string(
id());
18 return "i" + std::to_string(
id());
20 return "u" + std::to_string(
id());
22 return "bv" + std::to_string(
id());
#define CARL_LOG_ERROR(channel, msg)
carl is the main namespace for the library.
std::string safe_name() const
Retrieves a unique name of the variable of the form <type><id>.
std::string name() const
Retrieves the name of the variable.
static const Variable NO_VARIABLE
Instance of an invalid variable.
constexpr VariableType type() const noexcept
Retrieves the type of the variable.
std::string get_name(Variable v, bool variableName=true) const
Get a human-readable name for the given variable.
static VariablePool & getInstance()
Returns the single instance of this class by reference.