SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
FormulaEvaluation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
types.h
"
4
#include <functional>
5
#include <boost/container/flat_set.hpp>
6
7
namespace
smtrat::covering_ng::formula
{
8
9
using
ImplicantOrdering
= std::function<bool(
cadcells::datastructures::Projections
&,
const
boost::container::flat_set<cadcells::datastructures::PolyConstraint>&,
const
boost::container::flat_set<cadcells::datastructures::PolyConstraint>&)>;
10
11
using
ConstraintOrdering
= std::function<bool(
cadcells::datastructures::Projections
&,
const
cadcells::datastructures::PolyConstraint
&,
const
cadcells::datastructures::PolyConstraint
&)>;
12
13
enum class
Valuation
{
14
TRUE
,
FALSE
,
MULTIVARIATE
,
UNKNOWN
15
};
16
inline
std::ostream&
operator<<
(std::ostream& o,
Valuation
v) {
17
if
(v ==
Valuation::TRUE
) o <<
"TRUE"
;
18
else
if
(v ==
Valuation::FALSE
) o <<
"FALSE"
;
19
else
if
(v ==
Valuation::MULTIVARIATE
) o <<
"MULTIVARIATE"
;
20
else
o <<
"UNKNOWN"
;
21
return
o;
22
}
23
24
}
smtrat::cadcells::datastructures::Projections
Encapsulates all computations on polynomials.
Definition:
projections.h:46
smtrat::covering_ng::formula
Definition:
FormulaEvaluation.h:7
smtrat::covering_ng::formula::ImplicantOrdering
std::function< bool(cadcells::datastructures::Projections &, const boost::container::flat_set< cadcells::datastructures::PolyConstraint > &, const boost::container::flat_set< cadcells::datastructures::PolyConstraint > &)> ImplicantOrdering
Definition:
FormulaEvaluation.h:9
smtrat::covering_ng::formula::ConstraintOrdering
std::function< bool(cadcells::datastructures::Projections &, const cadcells::datastructures::PolyConstraint &, const cadcells::datastructures::PolyConstraint &)> ConstraintOrdering
Definition:
FormulaEvaluation.h:11
smtrat::covering_ng::formula::Valuation
Valuation
Definition:
FormulaEvaluation.h:13
smtrat::covering_ng::formula::Valuation::UNKNOWN
@ UNKNOWN
smtrat::covering_ng::formula::Valuation::FALSE
@ FALSE
smtrat::covering_ng::formula::Valuation::TRUE
@ TRUE
smtrat::covering_ng::formula::Valuation::MULTIVARIATE
@ MULTIVARIATE
smtrat::covering_ng::formula::operator<<
std::ostream & operator<<(std::ostream &o, Valuation v)
Definition:
FormulaEvaluation.h:16
types.h
smtrat::cadcells::datastructures::PolyConstraint
Definition:
polynomials.h:38
smtrat-coveringng
FormulaEvaluation.h
Generated by
1.9.1