|
|
@ -19,30 +19,15 @@ |
|
|
|
|
|
|
|
TEST(GameBasedDtmcModelCheckerTest, Die_Cudd) { |
|
|
|
storm::prism::Program program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/dtmc/die.pm"); |
|
|
|
auto checker = std::make_shared<storm::modelchecker::GameBasedMdpModelChecker<storm::dd::DdType::CUDD, storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>>>(program); |
|
|
|
|
|
|
|
// A parser that we use for conveniently constructing the formulas.
|
|
|
|
storm::parser::FormulaParser formulaParser; |
|
|
|
|
|
|
|
// Build the die model with its reward model.
|
|
|
|
#ifdef WINDOWS
|
|
|
|
storm::builder::DdPrismModelBuilder<storm::dd::DdType::CUDD>::Options options; |
|
|
|
#else
|
|
|
|
typename storm::builder::DdPrismModelBuilder<storm::dd::DdType::CUDD>::Options options; |
|
|
|
#endif
|
|
|
|
std::shared_ptr<storm::models::symbolic::Model<storm::dd::DdType::CUDD>> model = storm::builder::DdPrismModelBuilder<storm::dd::DdType::CUDD>().build(program, options); |
|
|
|
EXPECT_EQ(13ul, model->getNumberOfStates()); |
|
|
|
EXPECT_EQ(20ul, model->getNumberOfTransitions()); |
|
|
|
|
|
|
|
ASSERT_EQ(model->getType(), storm::models::ModelType::Dtmc); |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>> dtmc = model->as<storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>>(); |
|
|
|
auto checker = std::make_shared<storm::modelchecker::GameBasedMdpModelChecker<storm::dd::DdType::CUDD, storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>>>(program); |
|
|
|
|
|
|
|
std::shared_ptr<storm::logic::Formula const> formula = formulaParser.parseSingleFormulaFromString("P=? [F \"one\"]"); |
|
|
|
storm::modelchecker::CheckTask<storm::logic::Formula, double> task(*formula, true); |
|
|
|
|
|
|
|
std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::CUDD>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult1 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(1.0/6.0, quantitativeResult1[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
@ -51,7 +36,6 @@ TEST(GameBasedDtmcModelCheckerTest, Die_Cudd) { |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::CUDD>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult2 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(1.0/6.0, quantitativeResult2[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
@ -60,7 +44,6 @@ TEST(GameBasedDtmcModelCheckerTest, Die_Cudd) { |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::CUDD>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult3 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(1.0/6.0, quantitativeResult3[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
@ -71,27 +54,13 @@ TEST(GameBasedDtmcModelCheckerTest, Die_Sylvan) { |
|
|
|
|
|
|
|
// A parser that we use for conveniently constructing the formulas.
|
|
|
|
storm::parser::FormulaParser formulaParser; |
|
|
|
|
|
|
|
// Build the die model with its reward model.
|
|
|
|
#ifdef WINDOWS
|
|
|
|
storm::builder::DdPrismModelBuilder<storm::dd::DdType::Sylvan>::Options options; |
|
|
|
#else
|
|
|
|
typename storm::builder::DdPrismModelBuilder<storm::dd::DdType::Sylvan>::Options options; |
|
|
|
#endif
|
|
|
|
std::shared_ptr<storm::models::symbolic::Model<storm::dd::DdType::Sylvan>> model = storm::builder::DdPrismModelBuilder<storm::dd::DdType::Sylvan>().build(program, options); |
|
|
|
EXPECT_EQ(13ul, model->getNumberOfStates()); |
|
|
|
EXPECT_EQ(20ul, model->getNumberOfTransitions()); |
|
|
|
|
|
|
|
ASSERT_EQ(model->getType(), storm::models::ModelType::Dtmc); |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>> dtmc = model->as<storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>>(); |
|
|
|
|
|
|
|
auto checker = std::make_shared<storm::modelchecker::GameBasedMdpModelChecker<storm::dd::DdType::Sylvan, storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>>>(program); |
|
|
|
|
|
|
|
std::shared_ptr<storm::logic::Formula const> formula = formulaParser.parseSingleFormulaFromString("P=? [F \"one\"]"); |
|
|
|
storm::modelchecker::CheckTask<storm::logic::Formula, double> task(*formula, true); |
|
|
|
|
|
|
|
std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::Sylvan>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult1 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(1.0/6.0, quantitativeResult1[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
@ -100,7 +69,6 @@ TEST(GameBasedDtmcModelCheckerTest, Die_Sylvan) { |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::Sylvan>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult2 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(1.0/6.0, quantitativeResult2[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
@ -109,177 +77,43 @@ TEST(GameBasedDtmcModelCheckerTest, Die_Sylvan) { |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::Sylvan>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult3 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(1.0/6.0, quantitativeResult3[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
} |
|
|
|
|
|
|
|
TEST(GameBasedDtmcModelCheckerTest, Crowds_Cudd) { |
|
|
|
storm::prism::Program program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/dtmc/crowds-5-5.pm"); |
|
|
|
|
|
|
|
// A parser that we use for conveniently constructing the formulas.
|
|
|
|
storm::parser::FormulaParser formulaParser; |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::symbolic::Model<storm::dd::DdType::CUDD>> model = storm::builder::DdPrismModelBuilder<storm::dd::DdType::CUDD>().build(program); |
|
|
|
EXPECT_EQ(8607ul, model->getNumberOfStates()); |
|
|
|
EXPECT_EQ(15113ul, model->getNumberOfTransitions()); |
|
|
|
|
|
|
|
ASSERT_EQ(model->getType(), storm::models::ModelType::Dtmc); |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>> dtmc = model->as<storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>>(); |
|
|
|
auto checker = std::make_shared<storm::modelchecker::GameBasedMdpModelChecker<storm::dd::DdType::CUDD, storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>>>(program); |
|
|
|
|
|
|
|
std::shared_ptr<storm::logic::Formula const> formula = formulaParser.parseSingleFormulaFromString("P=? [F \"observe0Greater1\"]"); |
|
|
|
storm::modelchecker::CheckTask<storm::logic::Formula, double> task(*formula, true); |
|
|
|
|
|
|
|
std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::CUDD>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult1 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(0.33288236360191303, quantitativeResult1[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
|
|
|
|
formula = formulaParser.parseSingleFormulaFromString("P=? [F \"observeIGreater1\"]"); |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::CUDD>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult2 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(0.15222081144084315, quantitativeResult2[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
|
|
|
|
formula = formulaParser.parseSingleFormulaFromString("P=? [F \"observeOnlyTrueSender\"]"); |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::CUDD>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult3 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(0.3215392962289586, quantitativeResult3[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
} |
|
|
|
|
|
|
|
TEST(GameBasedDtmcModelCheckerTest, Crowds_Sylvan) { |
|
|
|
storm::prism::Program program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/dtmc/crowds-5-5.pm"); |
|
|
|
|
|
|
|
// A parser that we use for conveniently constructing the formulas.
|
|
|
|
storm::parser::FormulaParser formulaParser; |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::symbolic::Model<storm::dd::DdType::Sylvan>> model = storm::builder::DdPrismModelBuilder<storm::dd::DdType::Sylvan>().build(program); |
|
|
|
EXPECT_EQ(8607ul, model->getNumberOfStates()); |
|
|
|
EXPECT_EQ(15113ul, model->getNumberOfTransitions()); |
|
|
|
|
|
|
|
ASSERT_EQ(model->getType(), storm::models::ModelType::Dtmc); |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>> dtmc = model->as<storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>>(); |
|
|
|
auto checker = std::make_shared<storm::modelchecker::GameBasedMdpModelChecker<storm::dd::DdType::Sylvan, storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>>>(program); |
|
|
|
|
|
|
|
std::shared_ptr<storm::logic::Formula const> formula = formulaParser.parseSingleFormulaFromString("P=? [F \"observe0Greater1\"]"); |
|
|
|
storm::modelchecker::CheckTask<storm::logic::Formula, double> task(*formula, true); |
|
|
|
|
|
|
|
std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::Sylvan>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult1 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
// FIXME: precision not optimal.
|
|
|
|
EXPECT_NEAR(0.33288236360191303, quantitativeResult1[0], 10 * storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
|
|
|
|
formula = formulaParser.parseSingleFormulaFromString("P=? [F \"observeIGreater1\"]"); |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::Sylvan>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult2 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
// FIXME: precision not optimal.
|
|
|
|
EXPECT_NEAR(0.15222081144084315, quantitativeResult2[0], 10 * storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
|
|
|
|
formula = formulaParser.parseSingleFormulaFromString("P=? [F \"observeOnlyTrueSender\"]"); |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::Sylvan>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult3 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
// FIXME: precision not optimal.
|
|
|
|
EXPECT_NEAR(0.3215392962289586, quantitativeResult3[0], 10 * storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
} |
|
|
|
|
|
|
|
TEST(GameBasedDtmcModelCheckerTest, SynchronousLeader_Cudd) { |
|
|
|
storm::prism::Program program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/dtmc/leader-3-5.pm"); |
|
|
|
program = program.substituteConstants(); |
|
|
|
|
|
|
|
// A parser that we use for conveniently constructing the formulas.
|
|
|
|
storm::parser::FormulaParser formulaParser; |
|
|
|
|
|
|
|
// Build the die model with its reward model.
|
|
|
|
#ifdef WINDOWS
|
|
|
|
storm::builder::DdPrismModelBuilder<storm::dd::DdType::CUDD>::Options options; |
|
|
|
#else
|
|
|
|
typename storm::builder::DdPrismModelBuilder<storm::dd::DdType::CUDD>::Options options; |
|
|
|
#endif
|
|
|
|
std::shared_ptr<storm::models::symbolic::Model<storm::dd::DdType::CUDD>> model = storm::builder::DdPrismModelBuilder<storm::dd::DdType::CUDD>().build(program, options); |
|
|
|
EXPECT_EQ(273ul, model->getNumberOfStates()); |
|
|
|
EXPECT_EQ(397ul, model->getNumberOfTransitions()); |
|
|
|
|
|
|
|
ASSERT_EQ(model->getType(), storm::models::ModelType::Dtmc); |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>> dtmc = model->as<storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>>(); |
|
|
|
auto checker = std::make_shared<storm::modelchecker::GameBasedMdpModelChecker<storm::dd::DdType::CUDD, storm::models::symbolic::Dtmc<storm::dd::DdType::CUDD>>>(program); |
|
|
|
|
|
|
|
std::shared_ptr<storm::logic::Formula const> formula = formulaParser.parseSingleFormulaFromString("P=? [F \"elected\"]"); |
|
|
|
storm::modelchecker::CheckTask<storm::logic::Formula, double> task(*formula, true); |
|
|
|
|
|
|
|
std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::CUDD>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult1 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(1.0, quantitativeResult1[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
|
|
|
|
formula = formulaParser.parseSingleFormulaFromString("P=? [F<=20 \"elected\"]"); |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::CUDD>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult2 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(0.99999989760000074, quantitativeResult2[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
} |
|
|
|
|
|
|
|
TEST(GameBasedDtmcModelCheckerTest, SynchronousLeader_Sylvan) { |
|
|
|
storm::prism::Program program = storm::parser::PrismParser::parse(STORM_TEST_RESOURCES_DIR "/dtmc/leader-3-5.pm"); |
|
|
|
|
|
|
|
program = program.substituteConstants(); |
|
|
|
|
|
|
|
// A parser that we use for conveniently constructing the formulas.
|
|
|
|
storm::parser::FormulaParser formulaParser; |
|
|
|
|
|
|
|
// Build the die model with its reward model.
|
|
|
|
#ifdef WINDOWS
|
|
|
|
storm::builder::DdPrismModelBuilder<storm::dd::DdType::Sylvan>::Options options; |
|
|
|
#else
|
|
|
|
typename storm::builder::DdPrismModelBuilder<storm::dd::DdType::Sylvan>::Options options; |
|
|
|
#endif
|
|
|
|
std::shared_ptr<storm::models::symbolic::Model<storm::dd::DdType::Sylvan>> model = storm::builder::DdPrismModelBuilder<storm::dd::DdType::Sylvan>().build(program, options); |
|
|
|
EXPECT_EQ(273ul, model->getNumberOfStates()); |
|
|
|
EXPECT_EQ(397ul, model->getNumberOfTransitions()); |
|
|
|
|
|
|
|
ASSERT_EQ(model->getType(), storm::models::ModelType::Dtmc); |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>> dtmc = model->as<storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>>(); |
|
|
|
auto checker = std::make_shared<storm::modelchecker::GameBasedMdpModelChecker<storm::dd::DdType::Sylvan, storm::models::symbolic::Dtmc<storm::dd::DdType::Sylvan>>>(program); |
|
|
|
|
|
|
|
std::shared_ptr<storm::logic::Formula const> formula = formulaParser.parseSingleFormulaFromString("P=? [F \"elected\"]"); |
|
|
|
storm::modelchecker::CheckTask<storm::logic::Formula, double> task(*formula, true); |
|
|
|
|
|
|
|
std::unique_ptr<storm::modelchecker::CheckResult> result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::Sylvan>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult1 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(1.0, quantitativeResult1[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
|
|
|
|
formula = formulaParser.parseSingleFormulaFromString("P=? [F<=20 \"elected\"]"); |
|
|
|
task = storm::modelchecker::CheckTask<storm::logic::Formula, double>(*formula, true); |
|
|
|
|
|
|
|
result = checker->check(task); |
|
|
|
//result->filter(storm::modelchecker::SymbolicQualitativeCheckResult<storm::dd::DdType::Sylvan>(model->getReachableStates(), model->getInitialStates()));
|
|
|
|
storm::modelchecker::ExplicitQuantitativeCheckResult<double>& quantitativeResult2 = result->asExplicitQuantitativeCheckResult<double>(); |
|
|
|
|
|
|
|
EXPECT_NEAR(0.99999989760000074, quantitativeResult2[0], storm::settings::getModule<storm::settings::modules::NativeEquationSolverSettings>().getPrecision()); |
|
|
|
} |