Skip to main content

Statistical Constraints and Verification

  • Chapter
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2263))

Abstract

Statistical constraints have been introduced to UML models to describe their most salient aspects, allowing a natural expression of what is usually the case while tolerating exceptions. They are defined using well-known statistical constructs in terms of OCL collections. They offer more freedom and flexibility than the standard logical quantifiers (‘exists’ and ‘forAll’). This is achieved in a way that is mathematically well formed so that such constraints can be interpreted and verified at run time when a system (represented by a UML model) has been deployed. To make the constraints intelligible to non-IT people, a grammar has been defined that supports more than one syntactic style. The syntax of OCL is supported in addition to other styles that are more accessible to persons without mathematical or computer-science training, and the styles can be mixed. The paper shows examples of statistical constraints, particularly in cases where application systems are being extended by the addition of new capabilities and a new software package for business-to-business (B2B) trading on the Internet. The scenarios involve setting up routing and transformations using a message broker with verification on both extracted and sample data. There are also examples of limiting the complexity of transformations by constraining their definitions.

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   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. J. Knapman “Statistical Constraints for EAI” in A. Evans, S. Kent, B. Selic (eds) “≪UML≫ 2000 — The Unified Modeling Language, Advancing the Standard”, Third International Conference, October 2000, Springer

    Google Scholar 

  2. J. Knapman “Business-oriented Constraint Language” in A. Evans, S. Kent, B. Selic (eds) “≪UML≫ 2000 — The Unified Modeling Language, Advancing the Standard”, Third International Conference, October 2000, Springer

    Google Scholar 

  3. T. Weigert, D. Garlan, J. Knapman, B. Møller-Pedersen, B. Selic, “Modeling of Architectures with UML” in A. Evans, S. Kent, B. Selic (eds) “≪UML≫ 2000 — The Unified Modeling Language, Advancing the Standard”, Third International Conference, October 2000, Springer

    Google Scholar 

  4. J. Wordsworth, “Software Development with Z: A Practical Approach to Formal Methods in Software Engineering”, Addison-Wesley, 1992

    Google Scholar 

  5. W. Howden, “Systems testing and statistical test data coverage”, Proc. 21st Annual International Computer Software and Applications Conference (COMPSAC’97), Washington, DC, USA, Aug. 1997

    Google Scholar 

  6. D. Jackson, I. Schechter, I. Shlyakhter, “Alcoa: the Alloy Constraint Analyzer”, Proc. International Conference on Software Engineering, Limerick, Ireland, June 2000

    Google Scholar 

  7. V. Pareto, “d’économiepolitique”, 1896-7

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Knapman, J. (2002). Statistical Constraints and Verification. In: Clark, T., Warmer, J. (eds) Object Modeling with the OCL. Lecture Notes in Computer Science, vol 2263. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45669-4_9

Download citation

  • DOI: https://doi.org/10.1007/3-540-45669-4_9

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43169-5

  • Online ISBN: 978-3-540-45669-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics