SlideShare a Scribd company logo
TOP TREE
BY PARID VAROSHI
• Top trees are a dynamic self-adjusting data structure that can be
used by any tree algorithm. Actually, an arbitrary number of different
tree algorithms can use a single structure. The usage still requires a
detail knowledge of the structure which is quite complex. Moreover
about them.The TFL is a special programming language which
combines declarative and procedural approaches that results in
simpler and faster algorithm designing. The query language TQL
provides an easy top trees administration. The implementation of top
trees, the programming language TFL and the query language TQL
together form a complex solution for using top trees.
ANOTHER DEFINITION
• A top tree is a data structure based on a binary tree for
unrooted dynamic trees that is used mainly for various path-
related operations. It allows simple divide-and-conquer
algorithms. It has since been augmented to maintain
dynamically various properties of a tree such as diameter,
center and median. A top tree 784 is defined for an underlying
tree 784 and a set 784 of at most two vertices called as
External Boundary Vertices
i
• :A top tree R over (T, ∂T) is a binary tree such that:
• 1. The nodes of R are the clusters of (T, ∂T).
• 2. The leaves of R are the edges of T.
• 3. Two clusters are called neighbors if they intersect in a single
vertex. Their union is a parent cluster.
HOTKEYS:
• Boundary Vertex
A vertex in a connected subtree is a Boundary Vertex if it is connected
to a vertex outside the subtree by an edge.
• External Boundary Vertices
Up to a pair of vertices in the top tree can be called as External
Boundary Vertices, they can be thought of as Boundary Vertices of the
cluster which represents the entire top tree.
• Cluster
A cluster is a connected subtree with at most two Boundary Vertices.
The set of Boundary Vertices of a given cluster is denoted as
With each cluster the user may associate some meta information n
hand give methods to maintain it under the various internal
operations.
• Path Cluster
If contains at least one edge then is called a Path
Cluster.
• Cluster Path
The path between the Boundary Vertices of is called the
cluster path of
and it is denoted by
• Path Edge Cluster
Edge Clusters with two Boundary Nodes.
• Edge Cluster
A Cluster containing a single edge is called an Edge Cluster.
FIG. 1. THE CASES OF JOINING TWO NEIGHBOURING
CLUSTERS INTO THE PARENT CLUSTER THE • ARE THE
BOUNDARY VERTICES OF THE PARENT CLUSTER. THE ◦ ARE
THE BOUNDARY VERTICES OF CHILDREN CLUSTERS THAT
DID NOT BECOME THE BOUNDARY VERTICES OF THE
PARENT. THE DASHED LINE PRESENTS THE CLUSTER PATH
OF THE PARENT CLUSTER. MOREOVER, THERE EXIST
SYMMETRIC VARIANTS FOR (B) AND (C).
REFERENCES:
• http://ceur-ws.org/Vol-471/paper7.pdf
• https://en.wikipedia.org/wiki/Top_tree
• PARID VAROSHI
• EPOKA UNIVERSITY
TIRANA,ALBANIA
• DATA STRUCTURES

More Related Content

What's hot

Introduction To Data Structures.
Introduction To Data Structures.Introduction To Data Structures.
Introduction To Data Structures.
Education Front
 
Programming with matlab session 2
Programming with matlab session 2Programming with matlab session 2
Programming with matlab session 2
Infinity Tech Solutions
 
23.database
23.database23.database
23.database
Bayarmaa GBayarmaa
 
data structure
data structuredata structure
data structure
hashim102
 
Data structure
Data  structureData  structure
Data structure
priyanka belekar
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
Poojith Chowdhary
 
Unit 2 linear data structures
Unit 2   linear data structuresUnit 2   linear data structures
Unit 2 linear data structures
Senthil Murugan
 
Chapter 8: tree data structure
Chapter 8:  tree data structureChapter 8:  tree data structure
Chapter 8: tree data structure
Mahmoud Alfarra
 
Data structures
Data structuresData structures
Data structures
Amrutha Rajan
 
DATA STRUCTURE
DATA STRUCTUREDATA STRUCTURE
DATA STRUCTURE
Rohit Rai
 
Data structure
Data structureData structure
Data structure
Prof. Dr. K. Adisesha
 
Data structure
Data structureData structure
Data structure
Mohd Arif
 
Computer Science-Data Structures :Abstract DataType (ADT)
Computer Science-Data Structures :Abstract DataType (ADT)Computer Science-Data Structures :Abstract DataType (ADT)
Computer Science-Data Structures :Abstract DataType (ADT)
St Mary's College,Thrissur,Kerala
 
Introduction to data structure
Introduction to data structureIntroduction to data structure
Introduction to data structure
adeel hamid
 
EDI Training Module 9: Explore EML with XML Editors
EDI Training Module 9:  Explore EML with XML EditorsEDI Training Module 9:  Explore EML with XML Editors
EDI Training Module 9: Explore EML with XML Editors
Environmental Data Initiative
 
Bsc cs ii dfs u-1 introduction to data structure
Bsc cs ii dfs u-1 introduction to data structureBsc cs ii dfs u-1 introduction to data structure
Bsc cs ii dfs u-1 introduction to data structure
Rai University
 
Abstract data types (adt) intro to data structure part 2
Abstract data types (adt)   intro to data structure part 2Abstract data types (adt)   intro to data structure part 2
Abstract data types (adt) intro to data structure part 2
Self-Employed
 
Data Structure & Algorithms | Computer Science
Data Structure & Algorithms | Computer ScienceData Structure & Algorithms | Computer Science
Data Structure & Algorithms | Computer Science
Transweb Global Inc
 
Data mining
Data miningData mining
Data mining
EmaSushan
 
12. arrays
12. arrays12. arrays

What's hot (20)

Introduction To Data Structures.
Introduction To Data Structures.Introduction To Data Structures.
Introduction To Data Structures.
 
Programming with matlab session 2
Programming with matlab session 2Programming with matlab session 2
Programming with matlab session 2
 
23.database
23.database23.database
23.database
 
data structure
data structuredata structure
data structure
 
Data structure
Data  structureData  structure
Data structure
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
 
Unit 2 linear data structures
Unit 2   linear data structuresUnit 2   linear data structures
Unit 2 linear data structures
 
Chapter 8: tree data structure
Chapter 8:  tree data structureChapter 8:  tree data structure
Chapter 8: tree data structure
 
Data structures
Data structuresData structures
Data structures
 
DATA STRUCTURE
DATA STRUCTUREDATA STRUCTURE
DATA STRUCTURE
 
Data structure
Data structureData structure
Data structure
 
Data structure
Data structureData structure
Data structure
 
Computer Science-Data Structures :Abstract DataType (ADT)
Computer Science-Data Structures :Abstract DataType (ADT)Computer Science-Data Structures :Abstract DataType (ADT)
Computer Science-Data Structures :Abstract DataType (ADT)
 
Introduction to data structure
Introduction to data structureIntroduction to data structure
Introduction to data structure
 
EDI Training Module 9: Explore EML with XML Editors
EDI Training Module 9:  Explore EML with XML EditorsEDI Training Module 9:  Explore EML with XML Editors
EDI Training Module 9: Explore EML with XML Editors
 
Bsc cs ii dfs u-1 introduction to data structure
Bsc cs ii dfs u-1 introduction to data structureBsc cs ii dfs u-1 introduction to data structure
Bsc cs ii dfs u-1 introduction to data structure
 
Abstract data types (adt) intro to data structure part 2
Abstract data types (adt)   intro to data structure part 2Abstract data types (adt)   intro to data structure part 2
Abstract data types (adt) intro to data structure part 2
 
Data Structure & Algorithms | Computer Science
Data Structure & Algorithms | Computer ScienceData Structure & Algorithms | Computer Science
Data Structure & Algorithms | Computer Science
 
Data mining
Data miningData mining
Data mining
 
12. arrays
12. arrays12. arrays
12. arrays
 

Similar to Top tree

cppggggggggggggggggggggggggggggggggggggggg.pptx
cppggggggggggggggggggggggggggggggggggggggg.pptxcppggggggggggggggggggggggggggggggggggggggg.pptx
cppggggggggggggggggggggggggggggggggggggggg.pptx
ShruthiS594607
 
Data Structures 4
Data Structures 4Data Structures 4
Data Structures 4
Dr.Umadevi V
 
data science
data sciencedata science
data science
KamleshParihar12
 
Unit 3 trees
Unit 3   treesUnit 3   trees
Unit 3 trees
LavanyaJ28
 
Dsa unit 1
Dsa unit 1Dsa unit 1
Dsa unit 1
ColorfullMedia
 
Tree Introduction.pptx
Tree Introduction.pptxTree Introduction.pptx
Tree Introduction.pptx
RahulAI
 
DOC-20221104-WA0036.بحث.pptx
DOC-20221104-WA0036.بحث.pptxDOC-20221104-WA0036.بحث.pptx
DOC-20221104-WA0036.بحث.pptx
ssusercab735
 
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
sumitbardhan
 
Data structure chapter 1.pptx
Data structure chapter 1.pptxData structure chapter 1.pptx
Data structure chapter 1.pptx
Kami503928
 
chapter 6.1.pptx
chapter 6.1.pptxchapter 6.1.pptx
chapter 6.1.pptx
Tekle12
 
DS.ppt Datatastructures notes presentation
DS.ppt Datatastructures notes presentationDS.ppt Datatastructures notes presentation
DS.ppt Datatastructures notes presentation
SakkaravarthiShanmug
 
Lecture 22_Trees - II.pptx
Lecture 22_Trees - II.pptxLecture 22_Trees - II.pptx
Lecture 22_Trees - II.pptx
fizzaahmed9
 
Main MeMory Data Base
Main MeMory Data BaseMain MeMory Data Base
Main MeMory Data Base
Siva Rushi
 
Faster and smaller inverted indices with Treaps Research Paper
Faster and smaller inverted indices with Treaps Research PaperFaster and smaller inverted indices with Treaps Research Paper
Faster and smaller inverted indices with Treaps Research Paper
sameiralk
 
1650607.ppt
1650607.ppt1650607.ppt
1650607.ppt
KalsoomTahir2
 
Segment Trees in Data Structures and algorithm.pptx
Segment Trees in Data Structures and algorithm.pptxSegment Trees in Data Structures and algorithm.pptx
Segment Trees in Data Structures and algorithm.pptx
malaikaishaque78
 
B tree ,B plus and graph
B tree ,B plus and graph B tree ,B plus and graph
B tree ,B plus and graph
RaaviKapoor
 
Discrete Mathematics Tree
Discrete Mathematics  TreeDiscrete Mathematics  Tree
Discrete Mathematics Tree
Masud Parvaze
 
Bfs dfs mst
Bfs dfs mstBfs dfs mst
Bfs dfs mst
AvichalVishnoi
 
Introduction to data structures (ss)
Introduction to data structures (ss)Introduction to data structures (ss)
Introduction to data structures (ss)
Madishetty Prathibha
 

Similar to Top tree (20)

cppggggggggggggggggggggggggggggggggggggggg.pptx
cppggggggggggggggggggggggggggggggggggggggg.pptxcppggggggggggggggggggggggggggggggggggggggg.pptx
cppggggggggggggggggggggggggggggggggggggggg.pptx
 
Data Structures 4
Data Structures 4Data Structures 4
Data Structures 4
 
data science
data sciencedata science
data science
 
Unit 3 trees
Unit 3   treesUnit 3   trees
Unit 3 trees
 
Dsa unit 1
Dsa unit 1Dsa unit 1
Dsa unit 1
 
Tree Introduction.pptx
Tree Introduction.pptxTree Introduction.pptx
Tree Introduction.pptx
 
DOC-20221104-WA0036.بحث.pptx
DOC-20221104-WA0036.بحث.pptxDOC-20221104-WA0036.بحث.pptx
DOC-20221104-WA0036.بحث.pptx
 
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
 
Data structure chapter 1.pptx
Data structure chapter 1.pptxData structure chapter 1.pptx
Data structure chapter 1.pptx
 
chapter 6.1.pptx
chapter 6.1.pptxchapter 6.1.pptx
chapter 6.1.pptx
 
DS.ppt Datatastructures notes presentation
DS.ppt Datatastructures notes presentationDS.ppt Datatastructures notes presentation
DS.ppt Datatastructures notes presentation
 
Lecture 22_Trees - II.pptx
Lecture 22_Trees - II.pptxLecture 22_Trees - II.pptx
Lecture 22_Trees - II.pptx
 
Main MeMory Data Base
Main MeMory Data BaseMain MeMory Data Base
Main MeMory Data Base
 
Faster and smaller inverted indices with Treaps Research Paper
Faster and smaller inverted indices with Treaps Research PaperFaster and smaller inverted indices with Treaps Research Paper
Faster and smaller inverted indices with Treaps Research Paper
 
1650607.ppt
1650607.ppt1650607.ppt
1650607.ppt
 
Segment Trees in Data Structures and algorithm.pptx
Segment Trees in Data Structures and algorithm.pptxSegment Trees in Data Structures and algorithm.pptx
Segment Trees in Data Structures and algorithm.pptx
 
B tree ,B plus and graph
B tree ,B plus and graph B tree ,B plus and graph
B tree ,B plus and graph
 
Discrete Mathematics Tree
Discrete Mathematics  TreeDiscrete Mathematics  Tree
Discrete Mathematics Tree
 
Bfs dfs mst
Bfs dfs mstBfs dfs mst
Bfs dfs mst
 
Introduction to data structures (ss)
Introduction to data structures (ss)Introduction to data structures (ss)
Introduction to data structures (ss)
 

Recently uploaded

Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStrDeep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
saastr
 

Recently uploaded (20)

Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStrDeep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
 

Top tree

  • 2. • Top trees are a dynamic self-adjusting data structure that can be used by any tree algorithm. Actually, an arbitrary number of different tree algorithms can use a single structure. The usage still requires a detail knowledge of the structure which is quite complex. Moreover about them.The TFL is a special programming language which combines declarative and procedural approaches that results in simpler and faster algorithm designing. The query language TQL provides an easy top trees administration. The implementation of top trees, the programming language TFL and the query language TQL together form a complex solution for using top trees.
  • 3. ANOTHER DEFINITION • A top tree is a data structure based on a binary tree for unrooted dynamic trees that is used mainly for various path- related operations. It allows simple divide-and-conquer algorithms. It has since been augmented to maintain dynamically various properties of a tree such as diameter, center and median. A top tree 784 is defined for an underlying tree 784 and a set 784 of at most two vertices called as External Boundary Vertices i
  • 4. • :A top tree R over (T, ∂T) is a binary tree such that: • 1. The nodes of R are the clusters of (T, ∂T). • 2. The leaves of R are the edges of T. • 3. Two clusters are called neighbors if they intersect in a single vertex. Their union is a parent cluster.
  • 5. HOTKEYS: • Boundary Vertex A vertex in a connected subtree is a Boundary Vertex if it is connected to a vertex outside the subtree by an edge. • External Boundary Vertices Up to a pair of vertices in the top tree can be called as External Boundary Vertices, they can be thought of as Boundary Vertices of the cluster which represents the entire top tree. • Cluster A cluster is a connected subtree with at most two Boundary Vertices. The set of Boundary Vertices of a given cluster is denoted as With each cluster the user may associate some meta information n hand give methods to maintain it under the various internal operations.
  • 6. • Path Cluster If contains at least one edge then is called a Path Cluster. • Cluster Path The path between the Boundary Vertices of is called the cluster path of and it is denoted by • Path Edge Cluster Edge Clusters with two Boundary Nodes. • Edge Cluster A Cluster containing a single edge is called an Edge Cluster.
  • 7. FIG. 1. THE CASES OF JOINING TWO NEIGHBOURING CLUSTERS INTO THE PARENT CLUSTER THE • ARE THE BOUNDARY VERTICES OF THE PARENT CLUSTER. THE ◦ ARE THE BOUNDARY VERTICES OF CHILDREN CLUSTERS THAT DID NOT BECOME THE BOUNDARY VERTICES OF THE PARENT. THE DASHED LINE PRESENTS THE CLUSTER PATH OF THE PARENT CLUSTER. MOREOVER, THERE EXIST SYMMETRIC VARIANTS FOR (B) AND (C).
  • 8. REFERENCES: • http://ceur-ws.org/Vol-471/paper7.pdf • https://en.wikipedia.org/wiki/Top_tree • PARID VAROSHI • EPOKA UNIVERSITY TIRANA,ALBANIA • DATA STRUCTURES