Browse Source
introducing solver formats to enable linear equation solvers to take the fixed point rather than the equation system formulation
main
introducing solver formats to enable linear equation solvers to take the fixed point rather than the equation system formulation
main
21 changed files with 299 additions and 162 deletions
-
13src/storm/exceptions/FormatUnsupportedBySolverException.h
-
5src/storm/modelchecker/csl/helper/SparseCtmcCslHelper.cpp
-
22src/storm/modelchecker/prctl/helper/HybridDtmcPrctlHelper.cpp
-
28src/storm/modelchecker/prctl/helper/SparseDtmcPrctlHelper.cpp
-
21src/storm/settings/modules/NativeEquationSolverSettings.cpp
-
12src/storm/settings/modules/NativeEquationSolverSettings.h
-
21src/storm/solver/EigenLinearEquationSolver.cpp
-
10src/storm/solver/EigenLinearEquationSolver.h
-
38src/storm/solver/EliminationLinearEquationSolver.cpp
-
8src/storm/solver/EliminationLinearEquationSolver.h
-
19src/storm/solver/GmmxxLinearEquationSolver.cpp
-
8src/storm/solver/GmmxxLinearEquationSolver.h
-
14src/storm/solver/IterativeMinMaxLinearEquationSolver.cpp
-
59src/storm/solver/LinearEquationSolver.cpp
-
57src/storm/solver/LinearEquationSolver.h
-
15src/storm/solver/LinearEquationSolverProblemFormat.cpp
-
15src/storm/solver/LinearEquationSolverProblemFormat.h
-
66src/storm/solver/NativeLinearEquationSolver.cpp
-
18src/storm/solver/NativeLinearEquationSolver.h
-
10src/storm/solver/StandardGameSolver.cpp
-
2src/storm/storage/SparseMatrix.cpp
@ -0,0 +1,13 @@ |
|||
#pragma once |
|||
|
|||
#include "storm/exceptions/BaseException.h" |
|||
#include "storm/exceptions/ExceptionMacros.h" |
|||
|
|||
namespace storm { |
|||
namespace exceptions { |
|||
|
|||
STORM_NEW_EXCEPTION(FormatUnsupportedBySolverException) |
|||
|
|||
} // namespace exceptions |
|||
} // namespace storm |
|||
|
@ -0,0 +1,15 @@ |
|||
#include "storm/solver/LinearEquationSolverProblemFormat.h"
|
|||
|
|||
namespace storm { |
|||
namespace solver { |
|||
|
|||
std::ostream& operator<<(std::ostream& out, LinearEquationSolverProblemFormat const& format) { |
|||
switch (format) { |
|||
case LinearEquationSolverProblemFormat::EquationSystem: out << "equation system"; break; |
|||
case LinearEquationSolverProblemFormat::FixedPointSystem: out << "fixed point system"; break; |
|||
} |
|||
return out; |
|||
} |
|||
|
|||
} |
|||
} |
@ -0,0 +1,15 @@ |
|||
#pragma once |
|||
|
|||
#include <iostream> |
|||
|
|||
namespace storm { |
|||
namespace solver { |
|||
|
|||
enum class LinearEquationSolverProblemFormat { |
|||
EquationSystem, FixedPointSystem |
|||
}; |
|||
|
|||
std::ostream& operator<<(std::ostream& out, LinearEquationSolverProblemFormat const& format); |
|||
|
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue