Abstract—PFSQL is an extension of the SQL language that allows usage of fuzzy logic in SQL queries. In query statements, variables can take both fuzzy and non-fuzzy values. Normally, different types of values cannot be compared directly. Therefore, it is necessary to implement fuzzy compatibility calculation to solve this problem. This paper proposes a method of fuzzy compatibility calculation implementation that determines compatibility degree of two fuzzy sets. The compatibility value is calculated using polygon intersection algorithm. To prove the correctness of the proposed method, the application has been developed and tested with 360 compatibility cases of different randomly generated fuzzy values. The experimental results show that our algorithms can handle various types of intersections between any two fuzzy sets.
Index Terms—Compatibility, fuzzy database, fuzzy query, PFSQL.
S. Sukpisit, S. Kansomkeat, and A. Thadadech are with the Department of Computer Science, Faculty of Science, Prince of Songkla University, Songkhla, Thailand (e-mail: email@example.com, firstname.lastname@example.org, email@example.com).
P. S. Ueng and S. Škrbić are with the Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad, Novi Sad, Serbia (e-mail: firstname.lastname@example.org, email@example.com).
Cite: Sukgamon Sukpisit, Supaporn Kansomkeat, Pannipa Sae Ueng, Apirada Thadadech, and Srđan Škrbić, "Polygon Intersection Based Algorithm for Fuzzy Set Compatibility Calculations," International Journal of Machine Learning and Computing vol.6, no. 1, pp. 32-35, 2016.