You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
#include "storm/environment/solver/OviSolverEnvironment.h"
|
|
|
|
#include "storm/settings/SettingsManager.h"
|
|
#include "storm/settings/modules/OviSolverSettings.h"
|
|
#include "storm/utility/constants.h"
|
|
#include "storm/utility/macros.h"
|
|
|
|
namespace storm {
|
|
|
|
OviSolverEnvironment::OviSolverEnvironment() {
|
|
auto const& oviSettings = storm::settings::getModule<storm::settings::modules::OviSolverSettings>();
|
|
precisionUpdateFactor = storm::utility::convertNumber<storm::RationalNumber>(oviSettings.getPrecisionUpdateFactor());
|
|
maxVerificationIterationFactor = storm::utility::convertNumber<storm::RationalNumber>(oviSettings.getMaxVerificationIterationFactor());
|
|
relevantValuesForPrecisionUpdate = oviSettings.useRelevantValuesForPrecisionUpdate();
|
|
};
|
|
|
|
OviSolverEnvironment::~OviSolverEnvironment() {
|
|
// Intentionally left empty
|
|
}
|
|
|
|
storm::RationalNumber OviSolverEnvironment::getPrecisionUpdateFactor() const {
|
|
return precisionUpdateFactor;
|
|
}
|
|
|
|
storm::RationalNumber OviSolverEnvironment::getMaxVerificationIterationFactor() const {
|
|
return maxVerificationIterationFactor;
|
|
}
|
|
|
|
bool OviSolverEnvironment::useRelevantValuesForPrecisionUpdate() const {
|
|
return relevantValuesForPrecisionUpdate;
|
|
}
|
|
|
|
}
|