Skip to main content

Optimization of Timed Scenarios

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 12475))

Abstract

Given a consistent timed scenario, we use its stable distance table, which is a canonical representation for the entire class of equivalent scenarios, to optimise a scenario. We present a general algorithm that can be combined with different heuristics in order to achieve different optimisation goals. In the limited setting of scenarios this algorithm is stronger than the DBM reduction technique.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    We use “optimisation” as it is used in the field of compiler theory, i.e., “improvement” that does not necessarily lead to a result that is strictly optimal in some sense.

  2. 2.

    The notion of “behaviour” is equivalent to that of Alur’s “timed word”.

  3. 3.

    To keep the presentation compact, we do not allow sharp inequalities [13]. Equality is expressed in terms of \(\le \) and \(\ge \).

  4. 4.

    Some of the definitions in the remainder of this subsection are taken from our earlier work [11], and customized for the case of scenarios.

  5. 5.

    This limited definition suffices for the purposes of this paper. Synthesis of timed automata from more than one scenario is addressed elsewhere [14].

  6. 6.

    A constraint such as \(m \le c_i - c_j < M\) is equivalent to two such simple constraints: \(c_i - c_j < M\) and \(c_j - c_i \le -m\). A constraint of the form \(c_i \sim C\) is represented as \(c_i - c_{zero} \sim C\), where \(c_{zero}\) is a hypothetical clock whose value is always zero.

References

  1. Akshay, S., Mukund, M., Kumar, K.N.: Checking Coverage for Infinite Collections of Timed Scenarios. In: Caires, L., Vasconcelos, V.T. (eds.) CONCUR 2007. LNCS, vol. 4703, pp. 181–196. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-74407-8_13

    Chapter  Google Scholar 

  2. Alur, R., Henzinger, T.A.: A really temporal logic. J. ACM 41(1), 181–203 (1994)

    Article  MathSciNet  Google Scholar 

  3. Alur, R., Madhusudan, P.: Decision problems for timed automata: a survey. In: Bernardo, M., Corradini, F. (eds.) SFM-RT 2004. LNCS, vol. 3185, pp. 1–24. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-30080-9_1

    Chapter  MATH  Google Scholar 

  4. Alur, R., Martin, M., Raghothaman, M., Stergiou, C., Tripakis, S., Udupa, A.: Synthesizing finite-state protocols from scenarios and requirements. In: Yahav, E. (ed.) HVC 2014. LNCS, vol. 8855, pp. 75–91. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-13338-6_7

    Chapter  Google Scholar 

  5. Bollig, B., Katoen, J.-P., Kern, C., Leucker, M.: Replaying play in and play out: synthesis of design models from scenarios by learning. In: Grumberg, O., Huth, M. (eds.) TACAS 2007. LNCS, vol. 4424, pp. 435–450. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-71209-1_33

    Chapter  MATH  Google Scholar 

  6. Chandrasekaran, P., Mukund, M.: Matching scenarios with timing constraints. In: Asarin, E., Bouyer, P. (eds.) FORMATS 2006. LNCS, vol. 4202, pp. 98–112. Springer, Heidelberg (2006). https://doi.org/10.1007/11867340_8

    Chapter  Google Scholar 

  7. Dill, D.L.: Timing assumptions and verification of finite-state concurrent systems. In: Sifakis, J. (ed.) CAV 1989. LNCS, vol. 407, pp. 197–212. Springer, Heidelberg (1990). https://doi.org/10.1007/3-540-52148-8_17

    Chapter  Google Scholar 

  8. Harel, D., Kugler, H., Pnueli, A.: Synthesis revisited: generating statechart models from scenario-based requirements. In: Kreowski, H.-J., Montanari, U., Orejas, F., Rozenberg, G., Taentzer, G. (eds.) Formal Methods in Software and Systems Modeling. LNCS, vol. 3393, pp. 309–324. Springer, Heidelberg (2005). https://doi.org/10.1007/978-3-540-31847-7_18

    Chapter  Google Scholar 

  9. Heitmeyer, C.L., et al.: Building high assurance human-centric decision systems. Autom. Softw. Eng. 22(2), 159–197 (2014). https://doi.org/10.1007/s10515-014-0157-z

  10. Larsen, K.G., Larsson, F., Pettersson, P., Yi, W.: Efficient verification of real-time systems: compact data structure and state-space reduction. In: 18th IEEE Real-Time Systems Symposium, pp. 14–24, December 1997

    Google Scholar 

  11. Saeedloei, N., Kluźniak, F.: Clock allocation in timed automata and graph colouring. In: Proceedings of the 21st International Conference on Hybrid Systems: computation and Control (part of CPS Week), HSCC, pp. 71–80 (2018)

    Google Scholar 

  12. Saeedloei, N., Kluźniak, F.: From scenarios to timed automata. In: Formal Methods: Foundations and Applications - 20th Brazilian Symposium, SBMF, Proceedings. pp. 33–51 (2017)

    Google Scholar 

  13. Saeedloei, N., Kluźniak, F.: Timed scenarios: consistency, equivalence and optimization. In: Formal Methods: Foundations and Applications - 21st Brazilian Symposium, SBMF, Proceedings, pp. 215–233 (2018)

    Google Scholar 

  14. Saeedloei, N., Kluźniak, F.: Synthesizing clock-efficient timed automata. In: Integrated Formal Methods - 16th International Conference, iFM 2020, Proceedings (2020), (To appear)

    Google Scholar 

  15. Somé, S., Dssouli, R., Vaucher, J.: From scenarios to timed automata: building specifications from users requirements. In: Proceedings of the Second Asia Pacific Software Engineering Conference, APSEC 1995, pp. 48–57. IEEE Computer Society (1995)

    Google Scholar 

  16. Uchitel, S., Kramer, J., Magee, J.: Synthesis of behavioral models from scenarios. IEEE Trans. Softw. Eng. 29(2), 99–115 (2003)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Neda Saeedloei .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Saeedloei, N., Kluźniak, F. (2020). Optimization of Timed Scenarios. In: Carvalho, G., Stolz, V. (eds) Formal Methods: Foundations and Applications. SBMF 2020. Lecture Notes in Computer Science(), vol 12475. Springer, Cham. https://doi.org/10.1007/978-3-030-63882-5_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-63882-5_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-63881-8

  • Online ISBN: 978-3-030-63882-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics