carl
24.04
Computer ARithmetic Library
ExpressionParserResult.h
Go to the documentation of this file.
1
/*
2
* ExpressionParserResult.h
3
* Declares the result type of the ExpressionParser, which is used by
4
* at least the Python modules.
5
*
6
* Created on: 14 Apr 2016
7
* Author: hbruintjes
8
*/
9
10
#pragma once
11
12
#include <string>
13
#include <boost/variant/variant.hpp>
14
15
#include <
carl-arith/core/Variable.h
>
16
#include <
carl-arith/poly/umvpoly/Monomial.h
>
17
#include <
carl-arith/poly/umvpoly/Term.h
>
18
#include <
carl-extpolys/RationalFunction.h
>
19
#include <
carl-formula/formula/Formula.h
>
20
21
namespace
carl::io
{
22
namespace
parser {
23
24
template
<
typename
Pol>
25
using
ExpressionType
= boost::variant<
typename
Pol::CoeffType,
carl::Variable
,
carl::Monomial::Arg
,
26
carl::Term<typename Pol::CoeffType>
,
Pol
,
RationalFunction<Pol>
,
27
carl::Formula<Pol>
>;
28
29
}
30
}
Variable.h
Monomial.h
Term.h
RationalFunction.h
Formula.h
Pol
MultivariatePolynomial< Rational > Pol
Definition:
HornerTest.cpp:17
carl::io
Definition:
DIMACSExporter.h:13
carl::io::parser::ExpressionType
boost::variant< typename Pol::CoeffType, carl::Variable, carl::Monomial::Arg, carl::Term< typename Pol::CoeffType >, Pol, RationalFunction< Pol >, carl::Formula< Pol > > ExpressionType
Definition:
ExpressionParserResult.h:27
carl::Variable
A Variable represents an algebraic variable that can be used throughout carl.
Definition:
Variable.h:85
carl::Monomial::Arg
std::shared_ptr< const Monomial > Arg
Definition:
Monomial.h:62
carl::Term
Represents a single term, that is a numeric coefficient and a monomial.
Definition:
Term.h:23
carl::RationalFunction
Definition:
RationalFunction.h:21
carl::Formula
Represent an SMT formula, which can be an atom for some background theory or a boolean combination of...
Definition:
Formula.h:47
carl-io
parser
ExpressionParserResult.h
Generated by
1.9.1