Abstract
Comparison plays a determining role in many problems related to object management. Every modern programming language provides a comparison method (e.g. the equals method in Java) that allows us to compare two objects of any user-defined class. However, if we develop classes to represent objects imprecisely described using Fuzzy Subset Theory, the built-in method is no longer suitable. Fuzzy object comparison must be handled using a fuzzy equality concept, that is, resemblance relationships instead of classical equality. In this paper we present how to enable modern programming platforms so that classes with imprecise attributes can be developed and fuzzy objects of these classes can be easily compared. In particular, we introduce a fuzzyEquals method for a FuzzyObject class that can be used in user-defined classes without being overridden.
This work was partially supported by Spanish R&D project TIC2002-04021C0202
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
M. Berler, J. Eastman, D. Jordan, C. Russell, O. Schadow, T. Stanienda, and F. Velez. The object data standard: ODMG 3.0. Morgan Kaufmann Publishers, 2000.
F. Berzal, N. Marín, O. Pons, and M. A. Vila. Software Engineering with Fuzzy Theory, chapter Using Classical Object-Oriented Features to build a FOODBS. Physica Verlag, 2002. To appear.
J. Lee, J-Y. Kuo, and N-L. Xue. A note on current approaches to extent fuzzy logic to object oriented modeling. International Journal of Intelligent Systems, 16:807–820, 2001.
N. Marín, J.M. Medina, O. Pons, D. Sánchez, and M. A. Vila. Complex object comparison in a fuzzy context. Information and Software Technology, to appear.
B. Spell. Professional Java Programming. Wrox Press, 2000.
B. Stroustrup. What is object-oriented programming? IEEE Software, 1988.
M. A. Vila, J. C. Cubero, J. M. Medina, and O. Pons. The generalized selection: an alternative way for the quotient operations in fuzzy relational databases. In B. Bouchon-Meunier, R. Yager, and L. Zadeh, editors, Fuzzy Logic and Soft Computing. World Scientific Press, 1995.
L. A. Zadeh. Fuzzy sets. Information and Control, 8:338–353, 1965.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Berzal, F., Cubero, JC., Marín, N., Pons, O. (2003). Enabling Fuzzy Object Comparison in Modern Programming Platforms through Reflection. In: Bilgiç, T., De Baets, B., Kaynak, O. (eds) Fuzzy Sets and Systems — IFSA 2003. IFSA 2003. Lecture Notes in Computer Science, vol 2715. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44967-1_79
Download citation
DOI: https://doi.org/10.1007/3-540-44967-1_79
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40383-8
Online ISBN: 978-3-540-44967-6
eBook Packages: Springer Book Archive