Storm 1.11.1.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>
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>
31 this->localA = nullptr;
32 this->A = &matrix;
33 this->clearCache();
34}
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
46
47} // namespace storm::solver
virtual void setMatrix(storm::storage::SparseMatrix< ValueType > const &matrix) override
A class that holds a possibly non-square matrix in the compressed row storage format.