Nothing Special   »   [go: up one dir, main page]

Skip to main content

Fixing Classification: A Viewpoint-Based Approach

  • Conference paper
  • First Online:
Leveraging Applications of Formal Methods, Verification and Validation (ISoLA 2021)

Abstract

The concept of classification as realized in most traditional object-oriented computer languages has certain limitations that may inhibit its application to modeling more complex phenomena. This is likely to prove problematic as modern software becomes increasingly more integrated with the highly dynamic physical world. In this paper, we first provide a detailed description of these limitations, followed by an outline of a novel approach to classification designed to overcome them. The proposed approach replaces the static multiple-inheritance hierarchy approach found in many object-oriented languages with multiple dynamic class hierarchies each based on different classification criteria. Furthermore, to better deal with ambiguous classification schemes, it supports potentially overlapping class membership within any given scheme. Also included is a brief overview of how this approach could be realized in the design of advanced computer languages.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.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

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://www.verywellhealth.com/organ-system-1298691.

  2. 2.

    https://smartanythingeverywhere.eu/.

  3. 3.

    The first European scientists to examine the body of a platypus in 1799 declared it to be a fake, consisting of sewn-together parts of multiple different animals (https://en.wikipedia.org/wiki/Platypus).

  4. 4.

    https://en.wikipedia.org/wiki/Tomato#Fruit_versus_vegetable.

  5. 5.

    https://en.wikipedia.org/wiki/Digital_twin.

  6. 6.

    https://en.wikipedia.org/wiki/Multiple_inheritance.

  7. 7.

    This principle is, of course, yet another example of the divide-and-conquer strategy.

  8. 8.

    For the purposes of this work, we use the definition of viewpoint as provided in the IEEE 42010 standard [7]. It defines a “view” as a description of a system “from the perspective of specific system concerns”, and a “viewpoint” as the “conventions for the construction and interpretation…of views”.

  9. 9.

    Box and Draper in their work on empirical model building, state boldly that “essentially, all models are wrong, (but some are useful)” [1].

  10. 10.

    We intentionally chose a different name than “feature” for this real-world element to better distinguish it from its conceptual representation, which is called Feature in this framework.

  11. 11.

    The concept of ClassifiableEntity can be viewed as a type in the traditional software interpretation of that term.

  12. 12.

    This may not necessarily be an error, but it does imply that the classification schemes are incomplete, which may not have been the intent.

  13. 13.

    Smalltalk-80 was a dynamically typed language, so static type checking was impractical in any case.

References

  1. Box, G., Draper, A.: Empirical Model-Building and Response Surfaces. Wiley, Hoboken (1987)

    MATH  Google Scholar 

  2. Crnković, I., et al.: A classification framework for software component models. IEEE Trans. Softw. Eng. 37(5), 592–615 (2011)

    Article  Google Scholar 

  3. DeLine, R., Fähndrich, M.: Typestates for objects. In: Odersky, M. (ed.) ECOOP 2004. LNCS, vol. 3086, pp. 465–490. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24851-4_21

    Chapter  Google Scholar 

  4. Dijkstra, E.: Chapter I: Notes on structured programming. In: Dahl, O., et al. (eds.) Structured Programming, pp. 1–82. Cambridge, Academic Press (1972)

    Google Scholar 

  5. Drossopoulou, S., et al.: More dynamic object reclassification: Fickle. ACM Trans. Program. Lang. Syst. 24(2), 153–191 (2002)

    Article  Google Scholar 

  6. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Boston (1995)

    MATH  Google Scholar 

  7. ISO/IEC/IEEE: Systems and Software Engineering – Architecture Description, 1st edn. ISO/IEC/IEEE Standard 42010 (2011)

    Google Scholar 

  8. Jackson, M.: Object-orientation: classification considered harmful. In: Proceedings of NordData-91 (1991)

    Google Scholar 

  9. Object Management Group (OMG): OMG Unified Modeling Language (OMG UML) – version 2.5.1, OMG document number formal/2017-12-05 (2017). https://www.omg.org/spec/UML/

  10. Object Management Group (OMG): Semantics of a Foundational Subset for Executable UML Models (fUML) – version 1.3 Beta, OMG document number ptc/2017-02-01 (2017). http://www.omg.org/spec/FUML/1.3

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bran Selić .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Selić, B., Pierantonio, A. (2021). Fixing Classification: A Viewpoint-Based Approach. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation. ISoLA 2021. Lecture Notes in Computer Science(), vol 13036. Springer, Cham. https://doi.org/10.1007/978-3-030-89159-6_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-89159-6_22

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-89158-9

  • Online ISBN: 978-3-030-89159-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics