Title :
Comparing complex trees stored in database
Author :
Dejan, Stefanovic ; Milan, Vidakovic ; Bojan, Lackanovic ; Dragan, Zdrnja ; Nikola, Teslic
Author_Institution :
RT-RK LLC, Serbia
Abstract :
In this paper we consider the problem of comparing complex trees stored in a database. We propose a two-step algorithm which compares two arbitrary trees and returns the difference. We employ the hash value for node comparison since the entities may not have the same properties, and the properties themselves may not be primitive (integer, boolean, etc.). We give a comparison in performance using recursive high-level implementation which uses OR-mapper, and our implementation.
Keywords :
database management systems; tree data structures; OR-mapper; complex trees comparison; database; hash value; two-step algorithm; Arrays; Complexity theory; Conferences; Consumer electronics; Databases; Programming;
Conference_Titel :
Consumer Electronics (ICCE), 2015 IEEE International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-1-4799-7542-6
DOI :
10.1109/ICCE.2015.7066475