6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef POINCARE_SIMPLIFY_SIMPLIFICATION_H
#define POINCARE_SIMPLIFY_SIMPLIFICATION_H
#include <poincare/expression.h>
#include "expression_selector.h"
#include "expression_builder.h"
namespace Poincare {
class Simplification {
public:
constexpr Simplification(ExpressionSelector * m_selector, ExpressionBuilder * m_builder);
Expression * simplify(Expression * expression) const;
private:
ExpressionSelector * m_selector;
ExpressionBuilder * m_builder;
};
constexpr Simplification::Simplification(
ExpressionSelector * selector,
ExpressionBuilder * builder)
:
m_selector(selector),
m_builder(builder) {
}
}
#endif
|