Enabling fuzzy object comparison in modern programming platforms through reflection

  • Authors:
  • Fernando Berzal;Juan-Carlos Cubero;Nicolás Marín;Olga Pons

  • Affiliations:
  • Dept. of Computer Science and A. I., E.T.S.I.I., University of Granada, Granada, Spain;Dept. of Computer Science and A. I., E.T.S.I.I., University of Granada, Granada, Spain;Dept. of Computer Science and A. I., E.T.S.I.I., University of Granada, Granada, Spain;Dept. of Computer Science and A. I., E.T.S.I.I., University of Granada, Granada, Spain

  • Venue:
  • IFSA'03 Proceedings of the 10th international fuzzy systems association World Congress conference on Fuzzy sets and systems
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

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.