@ -105,8 +105,8 @@ namespace storm {
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > simpleFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > simpleFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > stateFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > stateFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > pathFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > pathFormulaWithoutUntil ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : FormulaContext ) , Skipper > pathFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : FormulaContext ) , Skipper > pathFormulaWithoutUntil ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > simplePathFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > simplePathFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > atomicStateFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > atomicStateFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > operatorFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > operatorFormula ;
@ -120,11 +120,11 @@ namespace storm {
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > expressionFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > expressionFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , qi : : locals < bool > , Skipper > booleanLiteralFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , qi : : locals < bool > , Skipper > booleanLiteralFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : Conditional Formula: : Context ) , Skipper > conditionalFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : Eventually Formula: : Context ) , Skipper > eventuallyFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > nextFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > globallyFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > untilFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : FormulaContext ) , Skipper > conditionalFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : FormulaContext ) , Skipper > eventuallyFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : FormulaContext ) , Skipper > nextFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : FormulaContext ) , Skipper > globallyFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( storm : : logic : : FormulaContext ) , Skipper > untilFormula ;
qi : : rule < Iterator , boost : : variant < std : : pair < double , double > , uint_fast64_t > ( ) , Skipper > timeBound ;
qi : : rule < Iterator , boost : : variant < std : : pair < double , double > , uint_fast64_t > ( ) , Skipper > timeBound ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > rewardPathFormula ;
qi : : rule < Iterator , std : : shared_ptr < storm : : logic : : Formula > ( ) , Skipper > rewardPathFormula ;
@ -142,11 +142,11 @@ namespace storm {
std : : shared_ptr < storm : : logic : : Formula > createAtomicExpressionFormula ( storm : : expressions : : Expression const & expression ) const ;
std : : shared_ptr < storm : : logic : : Formula > createAtomicExpressionFormula ( storm : : expressions : : Expression const & expression ) const ;
std : : shared_ptr < storm : : logic : : Formula > createBooleanLiteralFormula ( bool literal ) const ;
std : : shared_ptr < storm : : logic : : Formula > createBooleanLiteralFormula ( bool literal ) const ;
std : : shared_ptr < storm : : logic : : Formula > createAtomicLabelFormula ( std : : string const & label ) const ;
std : : shared_ptr < storm : : logic : : Formula > createAtomicLabelFormula ( std : : string const & label ) const ;
std : : shared_ptr < storm : : logic : : Formula > createEventuallyFormula ( boost : : optional < boost : : variant < std : : pair < double , double > , uint_fast64_t > > const & timeBound , storm : : logic : : Eventually Formula: : Context context , std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createEventuallyFormula ( boost : : optional < boost : : variant < std : : pair < double , double > , uint_fast64_t > > const & timeBound , storm : : logic : : FormulaContext context , std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createGloballyFormula ( std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createGloballyFormula ( std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createNextFormula ( std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createNextFormula ( std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createUntilFormula ( std : : shared_ptr < storm : : logic : : Formula > const & leftSubformula , boost : : optional < boost : : variant < std : : pair < double , double > , uint_fast64_t > > const & timeBound , std : : shared_ptr < storm : : logic : : Formula > const & rightSubformula ) ;
std : : shared_ptr < storm : : logic : : Formula > createUntilFormula ( std : : shared_ptr < storm : : logic : : Formula > const & leftSubformula , boost : : optional < boost : : variant < std : : pair < double , double > , uint_fast64_t > > const & timeBound , std : : shared_ptr < storm : : logic : : Formula > const & rightSubformula ) ;
std : : shared_ptr < storm : : logic : : Formula > createConditionalFormula ( std : : shared_ptr < storm : : logic : : Formula > const & leftSubformula , std : : shared_ptr < storm : : logic : : Formula > const & rightSubformula , storm : : logic : : Conditional Formula: : Context context ) const ;
std : : shared_ptr < storm : : logic : : Formula > createConditionalFormula ( std : : shared_ptr < storm : : logic : : Formula > const & leftSubformula , std : : shared_ptr < storm : : logic : : Formula > const & rightSubformula , storm : : logic : : FormulaContext context ) const ;
std : : pair < boost : : optional < storm : : OptimizationDirection > , boost : : optional < storm : : logic : : Bound < double > > > createOperatorInformation ( boost : : optional < storm : : OptimizationDirection > const & optimizationDirection , boost : : optional < storm : : logic : : ComparisonType > const & comparisonType , boost : : optional < double > const & threshold ) const ;
std : : pair < boost : : optional < storm : : OptimizationDirection > , boost : : optional < storm : : logic : : Bound < double > > > createOperatorInformation ( boost : : optional < storm : : OptimizationDirection > const & optimizationDirection , boost : : optional < storm : : logic : : ComparisonType > const & comparisonType , boost : : optional < double > const & threshold ) const ;
std : : shared_ptr < storm : : logic : : Formula > createLongRunAverageOperatorFormula ( std : : pair < boost : : optional < storm : : OptimizationDirection > , boost : : optional < storm : : logic : : Bound < double > > > const & operatorInformation , std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createLongRunAverageOperatorFormula ( std : : pair < boost : : optional < storm : : OptimizationDirection > , boost : : optional < storm : : logic : : Bound < double > > > const & operatorInformation , std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createRewardOperatorFormula ( boost : : optional < std : : string > const & rewardModelName , std : : pair < boost : : optional < storm : : OptimizationDirection > , boost : : optional < storm : : logic : : Bound < double > > > const & operatorInformation , std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
std : : shared_ptr < storm : : logic : : Formula > createRewardOperatorFormula ( boost : : optional < std : : string > const & rewardModelName , std : : pair < boost : : optional < storm : : OptimizationDirection > , boost : : optional < storm : : logic : : Bound < double > > > const & operatorInformation , std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const ;
@ -253,7 +253,7 @@ namespace storm {
cumulativeRewardFormula = ( qi : : lit ( " C<= " ) > > strict_double ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createCumulativeRewardFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] | ( qi : : lit ( " C<= " ) > qi : : uint_ ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createCumulativeRewardFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] ;
cumulativeRewardFormula = ( qi : : lit ( " C<= " ) > > strict_double ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createCumulativeRewardFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] | ( qi : : lit ( " C<= " ) > qi : : uint_ ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createCumulativeRewardFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] ;
cumulativeRewardFormula . name ( " cumulative reward formula " ) ;
cumulativeRewardFormula . name ( " cumulative reward formula " ) ;
rewardPathFormula = eventually Formula( storm : : logic : : Eventually Formula: : Context : : Reward ) | cumulativeRewardFormula | instantaneousRewardFormula | longRunAverageRewardFormula | conditionalFormula ( storm : : logic : : ConditionalFormula : : Context : : Reward ) ;
rewardPathFormula = conditional Formula( storm : : logic : : FormulaContext : : Reward ) | eventuallyFormula ( storm : : logic : : FormulaContext : : Reward ) | cumulativeRewardFormula | instantaneousRewardFormula | longRunAverageRewardFormula ;
rewardPathFormula . name ( " reward path formula " ) ;
rewardPathFormula . name ( " reward path formula " ) ;
expressionFormula = expressionParser [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createAtomicExpressionFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] ;
expressionFormula = expressionParser [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createAtomicExpressionFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] ;
@ -277,28 +277,28 @@ namespace storm {
notStateFormula = ( - unaryBooleanOperator_ > > atomicStateFormula ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createUnaryBooleanStateFormula , phoenix : : ref ( * this ) , qi : : _2 , qi : : _1 ) ] ;
notStateFormula = ( - unaryBooleanOperator_ > > atomicStateFormula ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createUnaryBooleanStateFormula , phoenix : : ref ( * this ) , qi : : _2 , qi : : _1 ) ] ;
notStateFormula . name ( " negation formula " ) ;
notStateFormula . name ( " negation formula " ) ;
eventuallyFormula = ( qi : : lit ( " F " ) > > - timeBound > > pathFormulaWithoutUntil ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createEventuallyFormula , phoenix : : ref ( * this ) , qi : : _1 , qi : : _r1 , qi : : _2 ) ] ;
eventuallyFormula = ( qi : : lit ( " F " ) > > - timeBound > > pathFormulaWithoutUntil ( qi : : _r1 ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createEventuallyFormula , phoenix : : ref ( * this ) , qi : : _1 , qi : : _r1 , qi : : _2 ) ] ;
eventuallyFormula . name ( " eventually formula " ) ;
eventuallyFormula . name ( " eventually formula " ) ;
globallyFormula = ( qi : : lit ( " G " ) > > pathFormulaWithoutUntil ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createGloballyFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] ;
globallyFormula = ( qi : : lit ( " G " ) > > pathFormulaWithoutUntil ( qi : : _r1 ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createGloballyFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] ;
globallyFormula . name ( " globally formula " ) ;
globallyFormula . name ( " globally formula " ) ;
nextFormula = ( qi : : lit ( " X " ) > > pathFormulaWithoutUntil ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createNextFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] ;
nextFormula = ( qi : : lit ( " X " ) > > pathFormulaWithoutUntil ( qi : : _r1 ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createNextFormula , phoenix : : ref ( * this ) , qi : : _1 ) ] ;
nextFormula . name ( " next formula " ) ;
nextFormula . name ( " next formula " ) ;
pathFormulaWithoutUntil = eventuallyFormula ( storm : : logic : : EventuallyFormula : : Context : : Probability ) | globallyFormula | nextFormula | stateFormula ;
pathFormulaWithoutUntil = eventuallyFormula ( qi : : _r1 ) | globallyFormula ( qi : : _r1 ) | nextFormula ( qi : : _r1 ) | stateFormula ;
pathFormulaWithoutUntil . name ( " path formula " ) ;
pathFormulaWithoutUntil . name ( " path formula " ) ;
untilFormula = pathFormulaWithoutUntil [ qi : : _val = qi : : _1 ] > > * ( qi : : lit ( " U " ) > > - timeBound > > pathFormulaWithoutUntil ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createUntilFormula , phoenix : : ref ( * this ) , qi : : _val , qi : : _1 , qi : : _2 ) ] ;
untilFormula = pathFormulaWithoutUntil ( qi : : _r1 ) [ qi : : _val = qi : : _1 ] > > * ( qi : : lit ( " U " ) > > - timeBound > > pathFormulaWithoutUntil ( qi : : _r1 ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createUntilFormula , phoenix : : ref ( * this ) , qi : : _val , qi : : _1 , qi : : _2 ) ] ;
untilFormula . name ( " until formula " ) ;
untilFormula . name ( " until formula " ) ;
conditionalFormula = untilFormula [ qi : : _val = qi : : _1 ] > > * ( qi : : lit ( " || " ) > > untilFormula ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createConditionalFormula , phoenix : : ref ( * this ) , qi : : _val , qi : : _1 , qi : : _r1 ) ] ;
conditionalFormula = untilFormula ( qi : : _r1 ) [ qi : : _val = qi : : _1 ] > > * ( qi : : lit ( " || " ) > > untilFormula ( storm : : logic : : FormulaContext : : Probability ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createConditionalFormula , phoenix : : ref ( * this ) , qi : : _val , qi : : _1 , qi : : _r1 ) ] ;
conditionalFormula . name ( " conditional formula " ) ;
conditionalFormula . name ( " conditional formula " ) ;
timeBound = ( qi : : lit ( " [ " ) > qi : : double_ > qi : : lit ( " , " ) > qi : : double_ > qi : : lit ( " ] " ) ) [ qi : : _val = phoenix : : construct < std : : pair < double , double > > ( qi : : _1 , qi : : _2 ) ] | ( qi : : lit ( " <= " ) > > strict_double ) [ qi : : _val = phoenix : : construct < std : : pair < double , double > > ( 0 , qi : : _1 ) ] | ( qi : : lit ( " <= " ) > qi : : uint_ ) [ qi : : _val = qi : : _1 ] ;
timeBound = ( qi : : lit ( " [ " ) > qi : : double_ > qi : : lit ( " , " ) > qi : : double_ > qi : : lit ( " ] " ) ) [ qi : : _val = phoenix : : construct < std : : pair < double , double > > ( qi : : _1 , qi : : _2 ) ] | ( qi : : lit ( " <= " ) > > strict_double ) [ qi : : _val = phoenix : : construct < std : : pair < double , double > > ( 0 , qi : : _1 ) ] | ( qi : : lit ( " <= " ) > qi : : uint_ ) [ qi : : _val = qi : : _1 ] ;
timeBound . name ( " time bound " ) ;
timeBound . name ( " time bound " ) ;
pathFormula = conditionalFormula ( storm : : logic : : ConditionalFormula : : Context : : Probability ) ;
pathFormula = conditionalFormula ( qi : : _r1 ) ;
pathFormula . name ( " path formula " ) ;
pathFormula . name ( " path formula " ) ;
operatorInformation = ( - optimalityOperator_ [ qi : : _a = qi : : _1 ] > > ( ( relationalOperator_ [ qi : : _b = qi : : _1 ] > qi : : double_ [ qi : : _c = qi : : _1 ] ) | ( qi : : lit ( " = " ) > qi : : lit ( " ? " ) ) ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createOperatorInformation , phoenix : : ref ( * this ) , qi : : _a , qi : : _b , qi : : _c ) ] ;
operatorInformation = ( - optimalityOperator_ [ qi : : _a = qi : : _1 ] > > ( ( relationalOperator_ [ qi : : _b = qi : : _1 ] > qi : : double_ [ qi : : _c = qi : : _1 ] ) | ( qi : : lit ( " = " ) > qi : : lit ( " ? " ) ) ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createOperatorInformation , phoenix : : ref ( * this ) , qi : : _a , qi : : _b , qi : : _c ) ] ;
@ -313,10 +313,10 @@ namespace storm {
rewardOperator = ( qi : : lit ( " R " ) > - rewardModelName > operatorInformation > qi : : lit ( " [ " ) > rewardPathFormula > qi : : lit ( " ] " ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createRewardOperatorFormula , phoenix : : ref ( * this ) , qi : : _1 , qi : : _2 , qi : : _3 ) ] ;
rewardOperator = ( qi : : lit ( " R " ) > - rewardModelName > operatorInformation > qi : : lit ( " [ " ) > rewardPathFormula > qi : : lit ( " ] " ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createRewardOperatorFormula , phoenix : : ref ( * this ) , qi : : _1 , qi : : _2 , qi : : _3 ) ] ;
rewardOperator . name ( " reward operator " ) ;
rewardOperator . name ( " reward operator " ) ;
expectedTimeOperator = ( qi : : lit ( " ET " ) > operatorInformation > qi : : lit ( " [ " ) > eventuallyFormula ( storm : : logic : : Eventually Formula: : Context : : ExpectedTime ) > qi : : lit ( " ] " ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createExpectedTimeOperatorFormula , phoenix : : ref ( * this ) , qi : : _1 , qi : : _2 ) ] ;
expectedTimeOperator = ( qi : : lit ( " ET " ) > operatorInformation > qi : : lit ( " [ " ) > eventuallyFormula ( storm : : logic : : FormulaContext : : ExpectedTime ) > qi : : lit ( " ] " ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createExpectedTimeOperatorFormula , phoenix : : ref ( * this ) , qi : : _1 , qi : : _2 ) ] ;
expectedTimeOperator . name ( " expected time operator " ) ;
expectedTimeOperator . name ( " expected time operator " ) ;
probabilityOperator = ( qi : : lit ( " P " ) > operatorInformation > qi : : lit ( " [ " ) > pathFormula > qi : : lit ( " ] " ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createProbabilityOperatorFormula , phoenix : : ref ( * this ) , qi : : _1 , qi : : _2 ) ] ;
probabilityOperator = ( qi : : lit ( " P " ) > operatorInformation > qi : : lit ( " [ " ) > pathFormula ( storm : : logic : : FormulaContext : : Probability ) > qi : : lit ( " ] " ) ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createProbabilityOperatorFormula , phoenix : : ref ( * this ) , qi : : _1 , qi : : _2 ) ] ;
probabilityOperator . name ( " probability operator " ) ;
probabilityOperator . name ( " probability operator " ) ;
andStateFormula = notStateFormula [ qi : : _val = qi : : _1 ] > > * ( qi : : lit ( " & " ) > > notStateFormula ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createBinaryBooleanStateFormula , phoenix : : ref ( * this ) , qi : : _val , qi : : _1 , storm : : logic : : BinaryBooleanStateFormula : : OperatorType : : And ) ] ;
andStateFormula = notStateFormula [ qi : : _val = qi : : _1 ] > > * ( qi : : lit ( " & " ) > > notStateFormula ) [ qi : : _val = phoenix : : bind ( & FormulaParserGrammar : : createBinaryBooleanStateFormula , phoenix : : ref ( * this ) , qi : : _val , qi : : _1 , storm : : logic : : BinaryBooleanStateFormula : : OperatorType : : And ) ] ;
@ -342,10 +342,10 @@ namespace storm {
debug ( longRunAverageOperator ) ;
debug ( longRunAverageOperator ) ;
debug ( pathFormulaWithoutUntil ) ;
debug ( pathFormulaWithoutUntil ) ;
debug ( pathFormula ) ;
debug ( pathFormula ) ;
debug ( conditionalFormula ) ;
// debug(conditionalFormula);
debug ( nextFormula ) ;
debug ( nextFormula ) ;
debug ( globallyFormula ) ;
debug ( globallyFormula ) ;
debug ( eventuallyFormula ) ;
// debug(eventuallyFormula);
debug ( atomicStateFormula ) ;
debug ( atomicStateFormula ) ;
debug ( booleanLiteralFormula ) ;
debug ( booleanLiteralFormula ) ;
debug ( labelFormula ) ;
debug ( labelFormula ) ;
@ -421,7 +421,7 @@ namespace storm {
return std : : shared_ptr < storm : : logic : : Formula > ( new storm : : logic : : AtomicLabelFormula ( label ) ) ;
return std : : shared_ptr < storm : : logic : : Formula > ( new storm : : logic : : AtomicLabelFormula ( label ) ) ;
}
}
std : : shared_ptr < storm : : logic : : Formula > FormulaParserGrammar : : createEventuallyFormula ( boost : : optional < boost : : variant < std : : pair < double , double > , uint_fast64_t > > const & timeBound , storm : : logic : : Eventually Formula: : Context context , std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const {
std : : shared_ptr < storm : : logic : : Formula > FormulaParserGrammar : : createEventuallyFormula ( boost : : optional < boost : : variant < std : : pair < double , double > , uint_fast64_t > > const & timeBound , storm : : logic : : FormulaContext context , std : : shared_ptr < storm : : logic : : Formula > const & subformula ) const {
if ( timeBound ) {
if ( timeBound ) {
if ( timeBound . get ( ) . which ( ) = = 0 ) {
if ( timeBound . get ( ) . which ( ) = = 0 ) {
std : : pair < double , double > const & bounds = boost : : get < std : : pair < double , double > > ( timeBound . get ( ) ) ;
std : : pair < double , double > const & bounds = boost : : get < std : : pair < double , double > > ( timeBound . get ( ) ) ;
@ -455,7 +455,7 @@ namespace storm {
}
}
}
}
std : : shared_ptr < storm : : logic : : Formula > FormulaParserGrammar : : createConditionalFormula ( std : : shared_ptr < storm : : logic : : Formula > const & leftSubformula , std : : shared_ptr < storm : : logic : : Formula > const & rightSubformula , storm : : logic : : Conditional Formula: : Context context ) const {
std : : shared_ptr < storm : : logic : : Formula > FormulaParserGrammar : : createConditionalFormula ( std : : shared_ptr < storm : : logic : : Formula > const & leftSubformula , std : : shared_ptr < storm : : logic : : Formula > const & rightSubformula , storm : : logic : : FormulaContext context ) const {
return std : : shared_ptr < storm : : logic : : Formula > ( new storm : : logic : : ConditionalFormula ( leftSubformula , rightSubformula , context ) ) ;
return std : : shared_ptr < storm : : logic : : Formula > ( new storm : : logic : : ConditionalFormula ( leftSubformula , rightSubformula , context ) ) ;
}
}