This chapter contains five case studies designed to bring together the individual programming structures in Promela and the Spin verification techniques that we have studied in isolation. The first case study shows how to create data structures using channels together with the various send and receive statements. In the second case study we show how to program two classic nondeterministic algorithms. The third and fourth case studies model a scheduling algorithm and a mutual exclusion algorithm for real-time systems. The final case study examines an algorithm for a distributed system. It shows that a model for verifying a distributed system need not be constructed according the system architecture; instead, a more efficient model can be constructed that captures the algorithmic behavior of the system.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2008 Springer-Verlag London Limited
About this chapter
Cite this chapter
(2008). Case Studies. In: Principles of the Spin Model Checker. Springer, London. https://doi.org/10.1007/978-1-84628-770-1_11
Download citation
DOI: https://doi.org/10.1007/978-1-84628-770-1_11
Publisher Name: Springer, London
Print ISBN: 978-1-84628-769-5
Online ISBN: 978-1-84628-770-1
eBook Packages: Computer ScienceComputer Science (R0)