Generating Trees for Comparison
Tree comparisons are used in various areas with various statistical or dissimilarity measures. Given that data in various domains are diverse, and a particular comparison approach could be more appropriate for specific applications, there is a need to evaluate different comparison approaches. As gat...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2020-04-01
|
Series: | Computers |
Subjects: | |
Online Access: | https://www.mdpi.com/2073-431X/9/2/35 |
id |
doaj-3604d25fee2b41858aac88c02e068464 |
---|---|
record_format |
Article |
spelling |
doaj-3604d25fee2b41858aac88c02e0684642020-11-25T02:41:19ZengMDPI AGComputers2073-431X2020-04-019353510.3390/computers9020035Generating Trees for ComparisonDanijel Mlinarić0Vedran Mornar1Boris Milašinović2Faculty of Electrical Engineering and Computing, University of Zagreb, Unska 3, 10000 Zagreb, CroatiaFaculty of Electrical Engineering and Computing, University of Zagreb, Unska 3, 10000 Zagreb, CroatiaFaculty of Electrical Engineering and Computing, University of Zagreb, Unska 3, 10000 Zagreb, CroatiaTree comparisons are used in various areas with various statistical or dissimilarity measures. Given that data in various domains are diverse, and a particular comparison approach could be more appropriate for specific applications, there is a need to evaluate different comparison approaches. As gathering real data is often an extensive task, using generated trees provides a faster evaluation of the proposed solutions. This paper presents three algorithms for generating random trees: parametrized by tree size, shape based on the node distribution and the amount of difference between generated trees. The motivation for the algorithms came from unordered trees that are created from class hierarchies in object-oriented programs. The presented algorithms are evaluated by statistical and dissimilarity measures to observe stability, behavior, and impact on node distribution. The results in the case of dissimilarity measures evaluation show that the algorithms are suitable for tree comparison.https://www.mdpi.com/2073-431X/9/2/35generating treesalgorithmstree edit distancetree analysisclass hierarchyobject-oriented languages |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Danijel Mlinarić Vedran Mornar Boris Milašinović |
spellingShingle |
Danijel Mlinarić Vedran Mornar Boris Milašinović Generating Trees for Comparison Computers generating trees algorithms tree edit distance tree analysis class hierarchy object-oriented languages |
author_facet |
Danijel Mlinarić Vedran Mornar Boris Milašinović |
author_sort |
Danijel Mlinarić |
title |
Generating Trees for Comparison |
title_short |
Generating Trees for Comparison |
title_full |
Generating Trees for Comparison |
title_fullStr |
Generating Trees for Comparison |
title_full_unstemmed |
Generating Trees for Comparison |
title_sort |
generating trees for comparison |
publisher |
MDPI AG |
series |
Computers |
issn |
2073-431X |
publishDate |
2020-04-01 |
description |
Tree comparisons are used in various areas with various statistical or dissimilarity measures. Given that data in various domains are diverse, and a particular comparison approach could be more appropriate for specific applications, there is a need to evaluate different comparison approaches. As gathering real data is often an extensive task, using generated trees provides a faster evaluation of the proposed solutions. This paper presents three algorithms for generating random trees: parametrized by tree size, shape based on the node distribution and the amount of difference between generated trees. The motivation for the algorithms came from unordered trees that are created from class hierarchies in object-oriented programs. The presented algorithms are evaluated by statistical and dissimilarity measures to observe stability, behavior, and impact on node distribution. The results in the case of dissimilarity measures evaluation show that the algorithms are suitable for tree comparison. |
topic |
generating trees algorithms tree edit distance tree analysis class hierarchy object-oriented languages |
url |
https://www.mdpi.com/2073-431X/9/2/35 |
work_keys_str_mv |
AT danijelmlinaric generatingtreesforcomparison AT vedranmornar generatingtreesforcomparison AT borismilasinovic generatingtreesforcomparison |
_version_ |
1724779057549148160 |