blob: 53751caebbd5f17fa6705fa3f1b5ed8cb73fb75f (
about) (
plain)
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
30
|
#ifndef SOLVER_HPP
#define SOLVER_HPP
template<typename T>
struct MaxStrategy {
MaxStrategy(unsigned int count)
: size(count){
}
Expression<T> takeTo(const Expression<T>& from, const Expression<T>& to) {
}
Expression<T> operator() (const Expression<T>& expression) const {
}
private:
unsigned int count;
Expression<T>* mappings;
};
template<typename T>
struct Solver {
Solver(ExpressionFactory<T> factory, EquationSystem<T> system)
: numExpressions(factory.count()), numVariables(system.count()) {
}
private:
unsigned int numExpressions;
unsigned int numVariables;
MaxStrategy _strategy;
};
#endif
|