Storm 1.13.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
StandardMinMaxLinearEquationSolver.cpp
Go to the documentation of this file.
2
9
10namespace storm::solver {
11
12template<typename ValueType, typename SolutionType>
16
17template<typename ValueType, typename SolutionType>
19 : localA(nullptr), A(&A) {
20 // Intentionally left empty.
21}
22
23template<typename ValueType, typename SolutionType>
25 : localA(std::make_unique<storm::storage::SparseMatrix<ValueType>>(std::move(A))), A(localA.get()) {
26 // Intentionally left empty.
27}
28
29template<typename ValueType, typename SolutionType>
35
36template<typename ValueType, typename SolutionType>
38 this->localA = std::make_unique<storm::storage::SparseMatrix<ValueType>>(std::move(matrix));
39 this->A = this->localA.get();
40 this->clearCache();
41}
42
47
48} // namespace storm::solver
virtual void setMatrix(storm::storage::SparseMatrix< ValueType > const &matrix) override
storm::storage::SparseMatrix< ValueType > const * A
A class that holds a possibly non-square matrix in the compressed row storage format.