staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.1);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.12);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&){/* intentionally left empty */}
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&){/* intentionally left empty */}
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.1);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.12);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.1);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.12);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.1);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.12);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.1);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.12);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.1);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.12);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.1);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticValueTypeprecision(){returnstorm::utility::convertNumber<ValueType>(0.12);}// there actually aren't any precision guarantees, but we still want to detect if results are weird.
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
staticvoidadaptOptions(storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType>&options){/* intentionally left empty */}
EXPECT_LE(result.diff(),this->precision())<<"Result ["<<result.lowerBound<<", "<<result.upperBound<<"] is not precise enough. If (only) this fails, the result bounds are still correct, but they might be unexpectedly imprecise."<<std::endl;
}
TYPED_TEST(BeliefExplorationTest,refuel_Pmin){
typedeftypenameTestFixture::ValueTypeValueType;
autodata=this->buildPrism(STORM_TEST_RESOURCES_DIR"/pomdp/refuel.prism","Pmin=?[\"notbad\" U \"goal\"]","N=4");
EXPECT_LE(result.diff(),this->precision())<<"Result ["<<result.lowerBound<<", "<<result.upperBound<<"] is not precise enough. If (only) this fails, the result bounds are still correct, but they might be unexpectedly imprecise."<<std::endl;
xxxxxxxxxx