Browse Source

prep for more formulas

tempestpy_adaptions
sjunges 8 years ago
parent
commit
31efb4f0c9
  1. 3
      src/storm-dft-cli/storm-dyftee.cpp

3
src/storm-dft-cli/storm-dyftee.cpp

@ -152,7 +152,8 @@ int main(const int argc, const char** argv) {
storm::jani::Variable const& topfailedVar = builder.getPlaceVariable(toplevelFailedPlace); storm::jani::Variable const& topfailedVar = builder.getPlaceVariable(toplevelFailedPlace);
auto evtlFormula = std::make_shared<storm::logic::AtomicExpressionFormula>(exprManager->integer(1) == topfailedVar.getExpressionVariable().getExpression());
storm::expressions::Expression targetExpression = exprManager->integer(1) == topfailedVar.getExpressionVariable().getExpression();
auto evtlFormula = std::make_shared<storm::logic::AtomicExpressionFormula>(targetExpression);
auto tbFormula = std::make_shared<storm::logic::BoundedUntilFormula>(std::make_shared<storm::logic::BooleanLiteralFormula>(true), evtlFormula, 0.0, 10.0); auto tbFormula = std::make_shared<storm::logic::BoundedUntilFormula>(std::make_shared<storm::logic::BooleanLiteralFormula>(true), evtlFormula, 0.0, 10.0);
auto tbUntil = std::make_shared<storm::logic::ProbabilityOperatorFormula>(tbFormula); auto tbUntil = std::make_shared<storm::logic::ProbabilityOperatorFormula>(tbFormula);

Loading…
Cancel
Save