|
|
@ -11,7 +11,7 @@ TEST(MilpPermissiveSchedulerTest, DieSelection) { |
|
|
|
storm::prism::Program program = storm::parser::PrismParser::parse(STORM_CPP_TESTS_BASE_PATH "/functional/builder/die_selection.nm"); |
|
|
|
storm::parser::FormulaParser formulaParser(program.getManager().getSharedPointer()); |
|
|
|
std::cout << " We are now here " << std::endl; |
|
|
|
auto formula = formulaParser.parseFromString("P<=0.2 [ F \"one\"]")->asProbabilityOperatorFormula(); |
|
|
|
auto formula = formulaParser.parseSingleFormulaFromString("P<=0.2 [ F \"one\"]")->asProbabilityOperatorFormula(); |
|
|
|
std::cout << formula << std::endl; |
|
|
|
|
|
|
|
// Customize and perform model-building.
|
|
|
@ -19,7 +19,6 @@ TEST(MilpPermissiveSchedulerTest, DieSelection) { |
|
|
|
|
|
|
|
options = typename storm::builder::ExplicitPrismModelBuilder<double>::Options(formula); |
|
|
|
options.addConstantDefinitionsFromString(program, ""); |
|
|
|
options.buildRewards = false; |
|
|
|
options.buildCommandLabels = true; |
|
|
|
|
|
|
|
std::shared_ptr<storm::models::sparse::Mdp<double>> mdp = storm::builder::ExplicitPrismModelBuilder<double>::translateProgram(program, options)->as<storm::models::sparse::Mdp<double>>(); |
|
|
|