Storm
1.11.1.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseMatrixOperations.cpp
Go to the documentation of this file.
1
#include "
storm/storage/SparseMatrixOperations.h
"
2
3
#include "
storm/adapters/RationalFunctionAdapter.h
"
4
5
namespace
storm::storage
{
6
std::set<storm::RationalFunctionVariable>
getVariables
(
SparseMatrix<storm::RationalFunction>
const
& matrix) {
7
std::set<storm::RationalFunctionVariable> result;
8
for
(
auto
const
& entry : matrix) {
9
entry.getValue().gatherVariables(result);
10
}
11
return
result;
12
}
13
14
}
// namespace storm::storage
RationalFunctionAdapter.h
SparseMatrixOperations.h
storm::storage::SparseMatrix
A class that holds a possibly non-square matrix in the compressed row storage format.
Definition
SparseMatrix.h:328
storm::storage
Definition
DFTBuilder.h:15
storm::storage::getVariables
std::set< storm::RationalFunctionVariable > getVariables(SparseMatrix< storm::RationalFunction > const &matrix)
Definition
SparseMatrixOperations.cpp:6
src
storm
storage
SparseMatrixOperations.cpp
Generated by
1.9.8