Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
FragmentSpecification.cpp
Go to the documentation of this file.
2
3#include <iostream>
5
6namespace storm {
7namespace logic {
8
20
32
47
59
67
70
71 // TODO: Only allow OperatorFormulas when they are inside of a GameFormula?
72 // TODO: Require that operator formulas are required at the top level of a GameFormula?
77
78 return rpatl;
79}
80
94
108
116
128
141
154
178
181
199
217
218 return lexObjective;
219}
220
241
243 probabilityOperator = false;
244 rewardOperator = false;
245 expectedTimeOperator = false;
246 longRunAverageOperator = false;
247
248 multiObjectiveFormula = false;
249 quantileFormula = false;
250
251 globallyFormula = false;
252 reachabilityProbabilityFormula = false;
253 nextFormula = false;
254 untilFormula = false;
255 boundedUntilFormula = false;
256 hoaPathFormula = false;
257
258 atomicExpressionFormula = false;
259 atomicLabelFormula = false;
260 booleanLiteralFormula = false;
261 unaryBooleanStateFormula = false;
262 binaryBooleanStateFormula = false;
263 unaryBooleanPathFormula = false;
264 binaryBooleanPathFormula = false;
265
266 cumulativeRewardFormula = false;
267 instantaneousRewardFormula = false;
268 reachabilityRewardFormula = false;
269 longRunAverageRewardFormula = false;
270 totalRewardFormula = false;
271
272 conditionalProbabilityFormula = false;
273 conditionalRewardFormula = false;
274
275 reachabilityTimeFormula = false;
276
277 gameFormula = false;
278
279 nestedOperators = true;
280 nestedPathFormulas = false;
281 nestedMultiObjectiveFormulas = false;
282 nestedOperatorsInsideMultiObjectiveFormulas = false;
283 onlyEventuallyFormuluasInConditionalFormulas = true;
284 stepBoundedUntilFormulas = false;
285 timeBoundedUntilFormulas = false;
286 rewardBoundedUntilFormulas = false;
287 multiDimensionalBoundedUntilFormulas = false;
288 stepBoundedCumulativeRewardFormulas = false;
289 timeBoundedCumulativeRewardFormulas = false;
290 rewardBoundedCumulativeRewardFormulas = false;
291 multiDimensionalCumulativeRewardFormulas = false;
292
293 qualitativeOperatorResults = true;
294 quantitativeOperatorResults = true;
295
296 operatorAtTopLevelRequired = false;
297 multiObjectiveFormulaAtTopLevelRequired = false;
298 operatorsAtTopLevelOfMultiObjectiveFormulasRequired = false;
299 quantileFormulaAtTopLevelRequired = false;
300
301 rewardAccumulation = false;
302}
303
307
309 return probabilityOperator;
310}
311
313 this->probabilityOperator = newValue;
314 return *this;
315}
316
318 return rewardOperator;
319}
320
322 this->rewardOperator = newValue;
323 return *this;
324}
325
327 return expectedTimeOperator;
328}
329
331 this->expectedTimeOperator = newValue;
332 return *this;
333}
334
336 return longRunAverageOperator;
337}
338
340 this->longRunAverageOperator = newValue;
341 return *this;
342}
343
345 return multiObjectiveFormula;
346}
347
349 this->multiObjectiveFormula = newValue;
350 return *this;
351}
352
354 return quantileFormula;
355}
356
358 this->quantileFormula = newValue;
359 return *this;
360}
361
363 return globallyFormula;
364}
365
367 this->globallyFormula = newValue;
368 return *this;
369}
370
372 return reachabilityProbabilityFormula;
373}
374
376 this->reachabilityProbabilityFormula = newValue;
377 return *this;
378}
379
381 return nextFormula;
382}
383
385 this->nextFormula = newValue;
386 return *this;
387}
388
390 return untilFormula;
391}
392
394 this->untilFormula = newValue;
395 return *this;
396}
397
399 return boundedUntilFormula;
400}
401
403 this->boundedUntilFormula = newValue;
404 return *this;
405}
406
408 return hoaPathFormula;
409}
410
412 this->hoaPathFormula = newValue;
413 return *this;
414}
415
417 return atomicExpressionFormula;
418}
419
421 this->atomicExpressionFormula = newValue;
422 return *this;
423}
424
426 return atomicLabelFormula;
427}
428
430 this->atomicLabelFormula = newValue;
431 return *this;
432}
433
435 return booleanLiteralFormula;
436}
437
439 this->booleanLiteralFormula = newValue;
440 return *this;
441}
442
444 return unaryBooleanStateFormula;
445}
446
448 this->unaryBooleanStateFormula = newValue;
449 return *this;
450}
451
453 return unaryBooleanPathFormula;
454}
455
457 this->unaryBooleanPathFormula = newValue;
458 return *this;
459}
460
462 return binaryBooleanStateFormula;
463}
464
466 this->binaryBooleanStateFormula = newValue;
467 return *this;
468}
469
471 return binaryBooleanPathFormula;
472}
473
475 this->binaryBooleanPathFormula = newValue;
476 return *this;
477}
478
480 return cumulativeRewardFormula;
481}
482
484 this->cumulativeRewardFormula = newValue;
485 return *this;
486}
487
489 return instantaneousRewardFormula;
490}
491
493 this->instantaneousRewardFormula = newValue;
494 return *this;
495}
496
498 return reachabilityRewardFormula;
499}
500
502 this->reachabilityRewardFormula = newValue;
503 return *this;
504}
505
507 return longRunAverageRewardFormula;
508}
509
511 this->longRunAverageRewardFormula = newValue;
512 return *this;
513}
514
516 return totalRewardFormula;
517}
518
520 this->totalRewardFormula = newValue;
521 return *this;
522}
523
525 return conditionalProbabilityFormula;
526}
527
529 this->conditionalProbabilityFormula = newValue;
530 return *this;
531}
532
534 return conditionalRewardFormula;
535}
536
538 this->conditionalRewardFormula = newValue;
539 return *this;
540}
541
543 return reachabilityTimeFormula;
544}
545
547 this->reachabilityTimeFormula = newValue;
548 return *this;
549}
550
552 return this->nestedOperators;
553}
554
556 this->nestedOperators = newValue;
557 return *this;
558}
559
561 return this->nestedPathFormulas;
562}
563
565 this->nestedPathFormulas = newValue;
566 return *this;
567}
568
570 return this->nestedMultiObjectiveFormulas;
571}
572
574 this->nestedMultiObjectiveFormulas = newValue;
575 return *this;
576}
577
579 return this->nestedOperatorsInsideMultiObjectiveFormulas;
580}
581
583 this->nestedOperatorsInsideMultiObjectiveFormulas = newValue;
584 return *this;
585}
586
588 return this->onlyEventuallyFormuluasInConditionalFormulas;
589}
590
592 this->onlyEventuallyFormuluasInConditionalFormulas = newValue;
593 return *this;
594}
595
597 return this->stepBoundedUntilFormulas;
598}
599
601 this->stepBoundedUntilFormulas = newValue;
602 return *this;
603}
604
606 return this->timeBoundedUntilFormulas;
607}
608
610 this->timeBoundedUntilFormulas = newValue;
611 return *this;
612}
613
615 return this->rewardBoundedUntilFormulas;
616}
617
619 this->rewardBoundedUntilFormulas = newValue;
620 return *this;
621}
622
624 return this->multiDimensionalBoundedUntilFormulas;
625}
626
628 this->multiDimensionalBoundedUntilFormulas = newValue;
629 return *this;
630}
631
633 return this->stepBoundedCumulativeRewardFormulas;
634}
635
637 this->stepBoundedCumulativeRewardFormulas = newValue;
638 return *this;
639}
640
642 return this->timeBoundedCumulativeRewardFormulas;
643}
644
646 this->timeBoundedCumulativeRewardFormulas = newValue;
647 return *this;
648}
649
651 return this->rewardBoundedCumulativeRewardFormulas;
652}
653
655 this->rewardBoundedCumulativeRewardFormulas = newValue;
656 return *this;
657}
658
660 return this->multiDimensionalCumulativeRewardFormulas;
661}
662
664 this->multiDimensionalCumulativeRewardFormulas = newValue;
665 return *this;
666}
667
669 this->setProbabilityOperatorsAllowed(newValue);
670 this->setRewardOperatorsAllowed(newValue);
671 this->setLongRunAverageOperatorsAllowed(newValue);
672 this->setTimeOperatorsAllowed(newValue);
673 return *this;
674}
675
677 this->setTimeOperatorsAllowed(newValue);
678 this->setReachbilityTimeFormulasAllowed(newValue);
679 return *this;
680}
681
686
688 return this->quantitativeOperatorResults;
689}
690
692 this->quantitativeOperatorResults = newValue;
693 return *this;
694}
695
697 return this->qualitativeOperatorResults;
698}
699
701 this->qualitativeOperatorResults = newValue;
702 return *this;
703}
704
706 return operatorAtTopLevelRequired;
707}
708
710 operatorAtTopLevelRequired = newValue;
711 return *this;
712}
713
715 return multiObjectiveFormulaAtTopLevelRequired;
716}
717
719 multiObjectiveFormulaAtTopLevelRequired = newValue;
720 return *this;
721}
722
724 return operatorsAtTopLevelOfMultiObjectiveFormulasRequired;
725}
726
728 operatorsAtTopLevelOfMultiObjectiveFormulasRequired = newValue;
729 return *this;
730}
731
733 return quantileFormulaAtTopLevelRequired;
734}
735
737 quantileFormulaAtTopLevelRequired = newValue;
738 return *this;
739}
740
742 return rewardAccumulation;
743}
744
746 rewardAccumulation = newValue;
747 return *this;
748}
749
751 return gameFormula;
752}
753
755 gameFormula = newValue;
756 return *this;
757}
758
759} // namespace logic
760} // namespace storm
FragmentSpecification & setConditionalRewardFormulasAllowed(bool newValue)
FragmentSpecification & setAtomicExpressionFormulasAllowed(bool newValue)
FragmentSpecification & setNextFormulasAllowed(bool newValue)
FragmentSpecification & setBinaryBooleanPathFormulasAllowed(bool newValue)
FragmentSpecification & setStepBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setUnaryBooleanStateFormulasAllowed(bool newValue)
FragmentSpecification & setRewardBoundedCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setRewardAccumulationAllowed(bool newValue)
FragmentSpecification & setOnlyEventuallyFormuluasInConditionalFormulasAllowed(bool newValue)
FragmentSpecification & setBinaryBooleanStateFormulasAllowed(bool newValue)
FragmentSpecification & setMultiDimensionalBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setTimeOperatorsAllowed(bool newValue)
FragmentSpecification & setUnaryBooleanPathFormulasAllowed(bool newValue)
FragmentSpecification & setAtomicLabelFormulasAllowed(bool newValue)
FragmentSpecification & setNestedMultiObjectiveFormulasAllowed(bool newValue)
FragmentSpecification & setGameFormulasAllowed(bool newValue)
FragmentSpecification & setMultiObjectiveFormulaAtTopLevelRequired(bool newValue)
FragmentSpecification & setQuantileFormulaAtTopLevelRequired(bool newValue)
FragmentSpecification & setQuantileFormulasAllowed(bool newValue)
FragmentSpecification & setOperatorAtTopLevelRequired(bool newValue)
FragmentSpecification & setBooleanLiteralFormulasAllowed(bool newValue)
FragmentSpecification & setMultiObjectiveFormulasAllowed(bool newValue)
FragmentSpecification & setGloballyFormulasAllowed(bool newValue)
FragmentSpecification & setTimeBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setReachabilityProbabilityFormulasAllowed(bool newValue)
FragmentSpecification & setCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setTotalRewardFormulasAllowed(bool newValue)
FragmentSpecification & setReachabilityRewardFormulasAllowed(bool newValue)
FragmentSpecification & setMultiDimensionalCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setNestedPathFormulasAllowed(bool newValue)
FragmentSpecification & setConditionalProbabilityFormulasAllowed(bool newValue)
FragmentSpecification & setRewardBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setLongRunAverageRewardFormulasAllowed(bool newValue)
FragmentSpecification & setQualitativeOperatorResultsAllowed(bool newValue)
FragmentSpecification & setLongRunAverageProbabilitiesAllowed(bool newValue)
FragmentSpecification & setQuantitativeOperatorResultsAllowed(bool newValue)
FragmentSpecification & setRewardOperatorsAllowed(bool newValue)
FragmentSpecification & setNestedOperatorsInsideMultiObjectiveFormulasAllowed(bool newValue)
FragmentSpecification & setBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setTimeBoundedCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setHOAPathFormulasAllowed(bool newValue)
FragmentSpecification & setOperatorsAllowed(bool newValue)
FragmentSpecification & setReachbilityTimeFormulasAllowed(bool newValue)
FragmentSpecification & setInstantaneousFormulasAllowed(bool newValue)
FragmentSpecification & setUntilFormulasAllowed(bool newValue)
FragmentSpecification & setTimeAllowed(bool newValue)
FragmentSpecification & setNestedOperatorsAllowed(bool newValue)
FragmentSpecification & setStepBoundedCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setProbabilityOperatorsAllowed(bool newValue)
FragmentSpecification & setLongRunAverageOperatorsAllowed(bool newValue)
FragmentSpecification & setOperatorsAtTopLevelOfMultiObjectiveFormulasRequired(bool newValue)
FragmentSpecification prctlstar()
FragmentSpecification prctl()
FragmentSpecification propositional()
FragmentSpecification lexObjective()
FragmentSpecification csrl()
FragmentSpecification pctlstar()
FragmentSpecification flatPctl()
FragmentSpecification csrlstar()
FragmentSpecification csl()
FragmentSpecification multiObjective()
FragmentSpecification pctl()
FragmentSpecification cslstar()
FragmentSpecification reachability()
FragmentSpecification quantiles()
FragmentSpecification rpatl()
LabParser.cpp.
Definition cli.cpp:18