Abstract
We present a novel programming language based on the concept of constrained objects for compositional and declarative modeling of engineering structures. A constrained object is an object whose internal state is governed by a set of (declarative) constraints. When several constrained objects are aggregated to form a complex object, their internal states might further have to satisfy interface constraints. The resultant behavior of the complex object is obtained by logical inference and constraint satisfaction. Our modeling paradigm supports constraints, including quantified and conditional constraints, as well as preferences. We show that, for the domain of engineering modeling, the paradigm of constrained objects is superior to both a pure object-oriented language as well as a pure constraint language. Our current prototype includes tools for authoring constrained-object class diagrams; a compiler that translates class diagrams to CLP(R) code; and domain-specific visual interfaces for building and testing constrained objects.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
H. Ait-Kaci and A. Podelski. Towards a Meaning of LIFE. Journal of Logic Programming, 16(3):195–234, 1993.
A. Borning B. N. Freeman-Benson. Integrating Constraints with an Object Oriented Language. In Proc. European Conference On Object-Oriented Programming, pages 268–286, 1992.
A. Borning. The Programming Language Aspects of Thinglab, A Constraint-Oriented Simulation Laboratory. ACM TOPLAS, 3(4):252–287, 1981.
E. C. Freuder. Partial Constraint Satisfaction. In Proc. 11thI ntl. Jt. Conf. on Artificial Intelligence, pages 278–283, 1989.
E. C. Freuder and R. J. Wallace. Heuristic Methods for Over-Constrained Constraint Satisfaction Problems. In Proc. CP’95 Workshop on Overconstrained Systems, 1995.
A. Borning G. Lopez, B. N. Freeman-Benson. Constraints and Object Identity. In Proc. European Conference On Object-Oriented Programming, 1994.
K. Govindarajan. Optimization and Relaxation in Logic Languages. PhD thesis, Department of Computer Science, SUNY-Buffalo, 1997.
K. Govindarajan, B. Jayaraman, and S. Mantha. Optimization and Relaxation in Constraint Logic Languages. In Proc. 23rd ACM Symp. on Principles of Programming Languages, pages 91–103, 1996.
R. Helm, I. Holland, and D. Gangopadhyay. Contracts: Specifying Behavioural Compositions in Object-Oriented Systems. In Proc. Object-Oriented Programming, Systems, and Applications (OOPSLA), 1990.
B. Horn. Constraint Patterns As a Basis For Object Oriented Programming. In Proc. Object-Oriented Programming, Systems, and Applications (OOPSLA), 1992.
B. Horn. Constrained Objects. PhD thesis, CMU, November 1993.
J. Jaffar and J. L. Lassez. Constraint Logic Programming. In Proc. 14thA CM Symp. on Principles of Programming Languages, pages 111–119, 1987.
W. J. Leler. The Specification and Generation of Constraint Satisfaction Systems. Addison-Wesley, 1987.
G. Lopez. The Design and Implementation of Kaleidoscope, A Constraint Imperative Programming Language. PhD thesis, University of Washington, 1997.
R. Mayne and S. Margolis. Introduction to Engineering. McGraw-Hill, 1982.
B. Meyer. Eiffel: The Language. Prentice-Hall, 1992.
R. Peak. Automating product data-driven analysis using multifidelity multidirectional constrained objects. Invited Presentation, NASA STEP for Aerospace Workshop, Jet Propulsion Lab, Pasadena CA, Jan 2000.
James Rumbaugh, Ivar Jacobson, and Grady Booch. The Unified Modeling Language Reference Manual. Addison-Wesley, 1998.
G. Smolka. Constraint Programming in Oz (Abstract). In Proc. Intl. Conference on Logic Programming, pages 37–38, 1997.
P. van Hentenryck. Constraint Satisfaction in Logic Programming. MIT Press, 1989.
Warmer, J., Kleppe, A. The Object Constraint Language. Addison-Wesley, 1999.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Jayaraman, B., Tambay, P. (2002). Modeling Engineering Structures with Constrained Objects. In: Krishnamurthi, S., Ramakrishnan, C.R. (eds) Practical Aspects of Declarative Languages. PADL 2002. Lecture Notes in Computer Science, vol 2257. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45587-6_4
Download citation
DOI: https://doi.org/10.1007/3-540-45587-6_4
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43092-6
Online ISBN: 978-3-540-45587-5
eBook Packages: Springer Book Archive