4 #include <unordered_map> 25 const std::unordered_map<Variable, Formula, hash_value<Variable>>&
26 var_to_formula_map()
const {
27 return var_to_formula_map_;
31 return formula_to_var_map_.at(f);
35 return var_to_formula_map_.at(var);
57 std::unordered_map<Variable, Formula, hash_value<Variable>>
59 std::unordered_map<Formula, Variable> formula_to_var_map_;
63 friend Formula drake::symbolic::VisitFormula<Formula, PredicateAbstractor>(
Formula Convert(const Formula &f)
Converts a first-order logic formula f into a Boolean formula by predicate abstraction.
Definition: predicate_abstractor.cc:56
Sum type of symbolic::Expression and symbolic::Formula.
Definition: api.cc:9
Represents a symbolic variable.
Definition: symbolic_variable.h:16
Definition: predicate_abstractor.h:11
This is the header file that we consolidate Drake's symbolic classes and expose them inside of dreal ...