|
@ -21,15 +21,14 @@ class DFTAnalyser { |
|
|
std::chrono::duration<double> totalTime = std::chrono::duration<double>::zero(); |
|
|
std::chrono::duration<double> totalTime = std::chrono::duration<double>::zero(); |
|
|
ValueType checkResult = storm::utility::zero<ValueType>(); |
|
|
ValueType checkResult = storm::utility::zero<ValueType>(); |
|
|
public: |
|
|
public: |
|
|
void check(storm::storage::DFT<ValueType> dft , std::shared_ptr<const storm::logic::Formula> const& formula, bool symred = true, bool allowModularisation = true, bool enableDC = true) { |
|
|
|
|
|
|
|
|
void check(storm::storage::DFT<ValueType> const& origDft , std::shared_ptr<const storm::logic::Formula> const& formula, bool symred = true, bool allowModularisation = true, bool enableDC = true) { |
|
|
|
|
|
|
|
|
// Building DFT |
|
|
// Building DFT |
|
|
std::chrono::high_resolution_clock::time_point totalStart = std::chrono::high_resolution_clock::now(); |
|
|
std::chrono::high_resolution_clock::time_point totalStart = std::chrono::high_resolution_clock::now(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Optimizing DFT |
|
|
// Optimizing DFT |
|
|
dft = dft.optimize(); |
|
|
|
|
|
std::vector<storm::storage::DFT<ValueType>> dfts; |
|
|
|
|
|
|
|
|
storm::storage::DFT<ValueType> dft = origDft.optimize(); |
|
|
checkResult = checkHelper(dft, formula, symred, allowModularisation, enableDC); |
|
|
checkResult = checkHelper(dft, formula, symred, allowModularisation, enableDC); |
|
|
totalTime = std::chrono::high_resolution_clock::now() - totalStart; |
|
|
totalTime = std::chrono::high_resolution_clock::now() - totalStart; |
|
|
|
|
|
|
|
|