Clingo
Loading...
Searching...
No Matches
compute_bounds.hh
1#pragma once
2
3#include <clingo/input/program.hh>
4
5#include <clingo/input/rewrite/rewrite_context.hh>
6
7#include <clingo/util/optional.hh>
8
9namespace CppClingo::Input {
10
13
15[[nodiscard]] auto compute_bounds(RewriteContext &ctx, Stm const &stm) -> Util::ResultState<Stm>;
16
18
19} // namespace CppClingo::Input
Helper to pass arguments to rewrite functions.
Definition rewrite_context.hh:97
auto compute_bounds(RewriteContext &ctx, Stm const &stm) -> Util::ResultState< Stm >
Compute bounds from comparisons and intervals.
std::variant< StmRule, StmTheory, StmOptimize, StmWeakConstraint, StmShow, StmShowNothing, StmShowSig, StmProject, StmProjectSig, StmDefined, StmExternal, StmEdge, StmHeuristic, StmScript, StmInclude, StmProgram, StmConst, StmParts, StmComment > Stm
Variant of available statements.
Definition statement.hh:828
The result of a simplification.
Definition optional.hh:128