{"id":15034,"date":"2022-06-16T20:02:56","date_gmt":"2022-06-17T00:02:56","guid":{"rendered":"https:\/\/carleton.ca\/scs\/?page_id=15034"},"modified":"2022-06-16T20:03:54","modified_gmt":"2022-06-17T00:03:54","slug":"tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees","status":"publish","type":"page","link":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/","title":{"rendered":"TR-203: Numeric Similarity and Dissimilarity Measures Between Two Trees"},"content":{"rendered":"<p>Carleton University<br \/>\n<a href=\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/\">Technical Report<\/a> <strong>TR-203<\/strong><br \/>\nFebruary 1992<\/p>\n<h2 class=\"tr_t1\">Numeric Similarity and Dissimilarity Measures Between Two Trees<\/h2>\n<div class=\"tr_t3\">B. J. Oommen, K. Zhang, W. Lee<\/div>\n<div>\n<h3>Abstract<\/h3>\n<p>Quantifying the measure of dissimilarity between two trees is a problem of intrinsic importance in the study of algorithms and data structures. But it is also of paramount importance in the fields of structural and syntactic pattern recognition. In this paper we define and formulate an abstract measure of comparison, n(T1, T2), between two trees T1 and T2. This measure is presented in terms of a set of elementary inter-symbol measures c.o(.,.) and two abstract operators &lt;:B and\u00ae. By appropriately choosing the concrete values for these two operators and for c.o(.,.), this measure can be used to define the edit distance between two trees and the Size of their Largest Common Sub-Tree (SLCsT). Additionally, a special case of this measure can also be used to quantify Prob(T2IT1), the probability of receiving T2 given that T1 was transmitted across a channel causing independent substitution and deletion errors. Finally, the same abstract measure can be used to quantify the a posteriori probability of T1 being the transmitted tree given that T2 is the received tree containing independent substitution, insertion and deletion errors. Apart from the definition and formulation of the abstract measure n(T1, T2), we have derived the recursive properties of the measure and presented an iterative dynamic programming scheme to compute it. The analysis of the time and space complexities of the algorithm are also included. If for a tree T, Span(T) is defined as the Min { Depth(T), Leaves(T)}, and if the operations EB and \u00ae are assumed to take unit time, the time and space complexities of this algorithm are :<\/p>\n<\/div>\n<p>Time: O(IT1l * IT2I * Span(T1) * Span(T2))<br \/>\nSpace : O(IT1I * IT2l).<\/p>\n<div><\/div>\n<p><a href=\"https:\/\/carleton.ca\/scs\/wp-content\/uploads\/TR-203.pdf\">TR-203.pdf<\/a><\/p>\n<p><\/p>\n<p><script src=\"moz-extension:\/\/c5a13a0c-07c2-4cc2-a1b8-4c3d783074b0\/js\/app.js\" type=\"text\/javascript\"><\/script><\/p>\n<p><script src=\"moz-extension:\/\/c5a13a0c-07c2-4cc2-a1b8-4c3d783074b0\/js\/app.js\" type=\"text\/javascript\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Carleton University Technical Report TR-203 February 1992 Numeric Similarity and Dissimilarity Measures Between Two Trees B. J. Oommen, K. Zhang, W. Lee Abstract Quantifying the measure of dissimilarity between two trees is a problem of intrinsic importance in the study of algorithms and data structures. But it is also of paramount importance in the fields [&hellip;]<\/p>\n","protected":false},"author":49,"featured_media":0,"parent":11910,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>TR-203: Numeric Similarity and Dissimilarity Measures Between Two Trees - School of Computer Science<\/title>\n<meta name=\"description\" content=\"Carleton University Technical Report TR-203 February 1992 Numeric Similarity and Dissimilarity Measures Between Two Trees B. J. Oommen, K. Zhang, W. Lee\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/\",\"url\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/\",\"name\":\"TR-203: Numeric Similarity and Dissimilarity Measures Between Two Trees - School of Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/carleton.ca\/scs\/#website\"},\"datePublished\":\"2022-06-17T00:02:56+00:00\",\"dateModified\":\"2022-06-17T00:03:54+00:00\",\"description\":\"Carleton University Technical Report TR-203 February 1992 Numeric Similarity and Dissimilarity Measures Between Two Trees B. J. Oommen, K. Zhang, W. Lee\",\"breadcrumb\":{\"@id\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/carleton.ca\/scs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\/\/carleton.ca\/scs\/research\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SCS Technical Reports\",\"item\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Technical Reports 1992\",\"item\":\"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"TR-203: Numeric Similarity and Dissimilarity Measures Between Two Trees\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/carleton.ca\/scs\/#website\",\"url\":\"https:\/\/carleton.ca\/scs\/\",\"name\":\"School of Computer Science\",\"description\":\"Carleton University\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/carleton.ca\/scs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TR-203: Numeric Similarity and Dissimilarity Measures Between Two Trees - School of Computer Science","description":"Carleton University Technical Report TR-203 February 1992 Numeric Similarity and Dissimilarity Measures Between Two Trees B. J. Oommen, K. Zhang, W. Lee","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/","url":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/","name":"TR-203: Numeric Similarity and Dissimilarity Measures Between Two Trees - School of Computer Science","isPartOf":{"@id":"https:\/\/carleton.ca\/scs\/#website"},"datePublished":"2022-06-17T00:02:56+00:00","dateModified":"2022-06-17T00:03:54+00:00","description":"Carleton University Technical Report TR-203 February 1992 Numeric Similarity and Dissimilarity Measures Between Two Trees B. J. Oommen, K. Zhang, W. Lee","breadcrumb":{"@id":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/tr-203-numeric-similarity-and-dissimilarity-measures-between-two-trees\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/carleton.ca\/scs\/"},{"@type":"ListItem","position":2,"name":"Research","item":"https:\/\/carleton.ca\/scs\/research\/"},{"@type":"ListItem","position":3,"name":"SCS Technical Reports","item":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/"},{"@type":"ListItem","position":4,"name":"Technical Reports 1992","item":"https:\/\/carleton.ca\/scs\/research\/scs-technical-reports\/technical-reports-1992\/"},{"@type":"ListItem","position":5,"name":"TR-203: Numeric Similarity and Dissimilarity Measures Between Two Trees"}]},{"@type":"WebSite","@id":"https:\/\/carleton.ca\/scs\/#website","url":"https:\/\/carleton.ca\/scs\/","name":"School of Computer Science","description":"Carleton University","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/carleton.ca\/scs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"acf":{"banner_button":"no","banner_image_type":"none"},"_links":{"self":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages\/15034"}],"collection":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/comments?post=15034"}],"version-history":[{"count":3,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages\/15034\/revisions"}],"predecessor-version":[{"id":15037,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages\/15034\/revisions\/15037"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/pages\/11910"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/media?parent=15034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}