6 carl::carlVariables
vars;
7 carl::variables(f,
vars);
9 stats.
add(
"num_variables",
vars.size());
10 stats.
add(
"num_variables_boolean",
vars.boolean().size());
11 stats.
add(
"num_variables_theory",
vars.integer().size() +
vars.real().size() +
vars.bitvector().size() +
vars.uninterpreted().size());
12 stats.
add(
"num_variables_arithmetic_real",
vars.real().size());
13 stats.
add(
"num_variables_arithmetic_int",
vars.integer().size());
14 stats.
add(
"num_variables_arithmetic",
vars.integer().size() +
vars.real().size());
15 stats.
add(
"num_variables_bitvector",
vars.bitvector().size());
16 stats.
add(
"num_variables_uninterpreted",
vars.uninterpreted().size());
void analyze_variables(const FormulaT &f, AnalyzerStatistics &stats)
std::vector< carl::Variable > vars(const std::pair< QuantifierType, std::vector< carl::Variable >> &p)
carl::Formula< Poly > FormulaT
void add(const std::string &key, const T &value)