Browse Source

removed DEBUG for multiplier type in SparseSmgRpatlHelper.cpp

tempestpy_adaptions
Lukas Posch 3 years ago
committed by Stefan Pranger
parent
commit
28f1c9d368
  1. 17
      src/storm/modelchecker/rpatl/helper/SparseSmgRpatlHelper.cpp

17
src/storm/modelchecker/rpatl/helper/SparseSmgRpatlHelper.cpp

@ -18,15 +18,6 @@ namespace storm {
// TODO add Kwiatkowska original reference // TODO add Kwiatkowska original reference
auto solverEnv = env; auto solverEnv = env;
solverEnv.solver().minMax().setMethod(storm::solver::MinMaxMethod::ValueIteration, false); solverEnv.solver().minMax().setMethod(storm::solver::MinMaxMethod::ValueIteration, false);
//solverEnv.solver().multiplier().setType(storm::solver::MultiplierType::Native);
if(solverEnv.solver().multiplier().getType() == storm::solver::MultiplierType::Native) {
STORM_LOG_DEBUG("Multiplier type = Native");
} else if(solverEnv.solver().multiplier().getType() == storm::solver::MultiplierType::Gmmxx) {
STORM_LOG_DEBUG("Multiplier type = Gmmxx");
} else {
STORM_LOG_DEBUG("Multiplier type unknown");
}
// Relevant states are those states which are phiStates and not PsiStates. // Relevant states are those states which are phiStates and not PsiStates.
storm::storage::BitVector relevantStates = phiStates & ~psiStates; storm::storage::BitVector relevantStates = phiStates & ~psiStates;
@ -62,14 +53,6 @@ namespace storm {
} }
} }
if(solverEnv.solver().multiplier().getType() == storm::solver::MultiplierType::Native) {
STORM_LOG_DEBUG("Multiplier type = Native");
} else if(solverEnv.solver().multiplier().getType() == storm::solver::MultiplierType::Gmmxx) {
STORM_LOG_DEBUG("Multiplier type = Gmmxx");
} else {
STORM_LOG_DEBUG("Multiplier type unknown");
}
// Fill up the result vector with the values of x for the relevant states, with 1s for psi states (0 is default) // Fill up the result vector with the values of x for the relevant states, with 1s for psi states (0 is default)
storm::utility::vector::setVectorValues(result, relevantStates, x); storm::utility::vector::setVectorValues(result, relevantStates, x);
storm::utility::vector::setVectorValues(result, psiStates, storm::utility::one<ValueType>()); storm::utility::vector::setVectorValues(result, psiStates, storm::utility::one<ValueType>());

Loading…
Cancel
Save