Browse Source

output of runtime of mec decomposition

Former-commit-id: 5238f9a7ad
tempestpy_adaptions
TimQu 9 years ago
parent
commit
cb9cf68632
  1. 2
      examples/multi-objective/mdp/benchmarks_numerical.sh
  2. 4
      src/modelchecker/multiobjective/helper/SparseMultiObjectivePreprocessor.cpp

2
examples/multi-objective/mdp/benchmarks_numerical.sh

@ -4,7 +4,7 @@ mkdir benchmarks_numerical
executable=../../../build/src/Release/storm
options='--precision 0.000001 --multiobjective:precision 0.0001'
options='--precision 0.000001 --multiobjective:precision 0.0001 --debug'
modelcommand='-s'
propertycommand='-prop'
logfilepostfix='.storm.output'

4
src/modelchecker/multiobjective/helper/SparseMultiObjectivePreprocessor.cpp

@ -10,6 +10,7 @@
#include "src/utility/macros.h"
#include "src/utility/vector.h"
#include "src/utility/graph.h"
#include "src/utility/Stopwatch.h"
#include "src/exceptions/InvalidPropertyException.h"
#include "src/exceptions/UnexpectedException.h"
@ -362,8 +363,9 @@ namespace storm {
template<typename SparseModelType>
void SparseMultiObjectivePreprocessor<SparseModelType>::assertPositiveRewardFiniteness(PreprocessorData& data, storm::storage::BitVector const& actionsWithNegativeReward) {
storm::utility::Stopwatch sw;
auto mecDecomposition = storm::storage::MaximalEndComponentDecomposition<ValueType>(data.preprocessedModel.getTransitionMatrix(), data.preprocessedModel.getBackwardTransitions());
STORM_LOG_DEBUG("Maximal end component decomposition for asserting positive reward finiteness took " << sw << " seconds.");
if(mecDecomposition.empty()) {
return;
}

Loading…
Cancel
Save