We take an implicit context binding, the classTag, of the trait of the solver desired.
We take an implicit context binding, the classTag, of the trait of the solver desired.
Due to Scala semantics, it is usually not enough to request a solver via merely
val s:SolverType = backend.getSolver
but instead requires an explicit solver tag, i.e.:
val s = backend.getSolver[SolverType]
Overview
Solver factory is an essence a collection of lazily initialized strategy singletons solving some (any) problem in context of the Mahout project.
We intend to use it _mainly_ for problems that are super-linear problems, and often involve more than one argument (operand).
The main method to probe for an available solver is RootSolverFactory.getSolver.