3#include <clingo/ground/term.hh>
4#include <clingo/ground/theory_term.hh>
6#include <clingo/input/term.hh>
7#include <clingo/input/theory.hh>
9namespace CppClingo::Control {
20 bool has_projection =
false;
21 auto res =
build_term(var_map, term, has_projection);
22 assert(!has_projection);
auto build_theory_term(Util::unordered_map< String, size_t > const &var_map, Input::TheoryTerm const &term) -> Ground::UTheoryTerm
Translates input theory terms to their ground representation.
auto build_term(Util::unordered_map< String, size_t > const &var_map, Input::Term const &term, bool &has_projection) -> Ground::UTerm
Translates input theory terms to their ground representation.
std::unique_ptr< Term > UTerm
A unique pointer holding a term.
Definition term.hh:33
std::unique_ptr< TheoryTerm > UTheoryTerm
A unique pointer to a theory term.
Definition theory_term.hh:13
tsl::hopscotch_map< Key, T, Hash, KeyEqual, Allocator, NeighborhoodSize, StoreHash, GrowthPolicy > unordered_map
Alias for unordered maps.
Definition unordered_map.hh:17