summaryrefslogtreecommitdiff
path: root/impl/Solver.hpp
blob: 11369bc8f1411ba943eae468b4486ab956c89df4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef SOLVER_HPP
#define SOLVER_HPP

#include "Factory.hpp"
#include "VariableAssignment.hpp"

template<typename T>
struct Solver {
  VariableAssignment<T> solveBF(const EquationSystem<T>& system) {
    VariableAssignment<T> result;
    for (unsigned int i = 0; i < _var_count; ++i) {
      result = system(result);
    }
  }
};

#endif