|
using | CppClingo::Control::ProjectMap = CppClingo::Ground::ProjectMap |
| A map from a terms with projections associated state used during grounding.
|
|
using | CppClingo::Control::BaseMap = CppClingo::Ground::BaseMap |
| A map from signatures to atom bases.
|
|
using | CppClingo::Control::VarMap = Util::unordered_map< String, size_t > |
| A map from variable names (input) to their indices (ground).
|
|
using | CppClingo::Control::DefMap = Util::unordered_map< Input::Term const *, std::vector< size_t > > |
| A map from terms to the indices defining them.
|
|
using | CppClingo::Control::ProgramParams = std::pair< CppClingo::Input::Precedence, std::optional< ProgramParamVec > > |
| A pair capturing a program #parts directive.
|
|
using | CppClingo::Control::UScript = std::unique_ptr< Script > |
| A unique pointer to a script.
|
|
using | CppClingo::Control::UModel = std::unique_ptr< Model > |
| A unique pointer to a model.
|
|
using | CppClingo::Control::USolveHandle = std::unique_ptr< SolveHandle > |
| A unique pointer for a solve handle.
|
|
using | CppClingo::Control::UEventHandler = std::unique_ptr< EventHandler > |
| A unique pointer for an event handler.
|
|
using | CppClingo::Control::UBackendHandle = std::unique_ptr< BackendHandle > |
| A unique pointer to a backend handle.
|
|
using | CppClingo::Control::UPropagator = std::unique_ptr< Propagator > |
| A unique pointer to a propagator.
|
|
using | CppClingo::Control::USymbolTable = std::unique_ptr< SymbolTable > |
| A unique pointer to a symbol table.
|
|
|
enum class | CppClingo::Control::BuiltinIncludes : uint8_t { BuiltinIncludes::empty = 0
, BuiltinIncludes::incmode = 1
} |
| Bitset of enabled builtin includes. More...
|
|
enum class | CppClingo::Control::IStop : uint8_t { IStop::none
, IStop::sat
, IStop::unsat
, IStop::unknown
} |
| Stop condition for incremental mode. More...
|
|
enum class | CppClingo::Control::AppMode : uint8_t { AppMode::parse
, AppMode::rewrite
, AppMode::ground
, AppMode::solve
} |
| Enumeration of available application modes. More...
|
|
enum class | CppClingo::Control::SymbolSelectFlags : uint8_t {
SymbolSelectFlags::none = 0
, SymbolSelectFlags::shown = 1
, SymbolSelectFlags::atoms = 2
, SymbolSelectFlags::terms = 4
,
SymbolSelectFlags::theory = 8
, SymbolSelectFlags::all = 15
} |
| A bit set of symbol selection flags. More...
|
|
enum class | CppClingo::Control::ModelType : uint8_t { ModelType::model = 0
, ModelType::brave_consequences = 1
, ModelType::cautious_consequences = 2
} |
| Enumeration of available model flags. More...
|
|
enum class | CppClingo::Control::ConsequenceType : uint8_t { ConsequenceType::false_ = 0
, ConsequenceType::true_ = 1
, ConsequenceType::unknown = 2
} |
| Enumeration of available consequence types. More...
|
|
enum class | CppClingo::Control::SolveResult : uint8_t {
SolveResult::empty = 0
, SolveResult::satisfiable = 1
, SolveResult::unsatisfiable = 2
, SolveResult::exhausted = 4
,
SolveResult::interrupted = 8
} |
| The solve result. More...
|
|
enum class | CppClingo::Control::SolveMode : uint8_t { SolveMode::none = 0
, SolveMode::async = 1
, SolveMode::yield = 2
} |
| The available solve modes. More...
|
|
|
void | CppClingo::Control::build_hd_lit (BuildContext &ctx, Input::HdLitAggregate const &lit) |
| Translate head aggregates.
|
|
void | CppClingo::Control::build_bd_lit (BuildContext &ctx, Input::BdLitAggregate const &lit) |
| Translate body aggregates.
|
|
void | CppClingo::Control::build_hd_lit (BuildContext &ctx, Input::HdLitDisjunction const &lit) |
| Translate disjunctions.
|
|
void | CppClingo::Control::build_bd_lit (BuildContext &ctx, Input::BdLitConjunction const &lit) |
| Translate conditional literals.
|
|
template<class F > |
void | CppClingo::Control::build_lit (BuildContext &ctx, Input::Lit const &lit, F &&fun) |
| Translate input literals to their ground representation.
|
|
template<class F > |
void | CppClingo::Control::build_stratified_lit (BuildContext &ctx, Input::Lit const &lit, F &&fun) |
| Translate input literals to their ground representation.
|
|
| CppClingo::Control::CLINGO_ENABLE_BITSET_ENUM (BuiltinIncludes) |
| Indicate that the builtin includes type is a bitset.
|
|
| CppClingo::Control::CLINGO_ENABLE_BITSET_ENUM (SymbolSelectFlags) |
| Enable bit set operations.
|
|
| CppClingo::Control::CLINGO_ENABLE_BITSET_ENUM (SolveResult) |
| Enable bit set operations.
|
|
| CppClingo::Control::CLINGO_ENABLE_BITSET_ENUM (SolveMode) |
| Enable bit set operations.
|
|
void | CppClingo::Control::build_stm (BuildContext &ctx, Input::Stm const &stm) |
| Translate input statements to their ground representation.
|
|
auto | CppClingo::Control::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.
|
|
auto | CppClingo::Control::build_term (Util::unordered_map< String, size_t > const &var_map, Input::Term const &term) -> Ground::UTerm |
| Translates input theory terms to their ground representation.
|
|
auto | CppClingo::Control::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.
|
|
void | CppClingo::Control::build_hd_lit (BuildContext &ctx, Input::HdLitTheoryAtom const &lit) |
| Translate a head theory atom.
|
|
void | CppClingo::Control::build_bd_lit (BuildContext &ctx, Input::BdLitTheoryAtom const &lit) |
| Translate a body theory atom.
|
|
Library combining input, ground, and output.