An Approximate Graph-Similarity Algorithm based on Monte Carlo Tree Search
Mattia De Prisco
An Approximate Graph-Similarity Algorithm based on Monte Carlo Tree Search.
Rel. Giovanni Squillero, Stefano Quer. Politecnico di Torino, Master of science program in Computer Engineering, 2019
|
Preview |
PDF (Tesi_di_laurea)
- Thesis
Licence: Creative Commons Attribution Non-commercial Share Alike. Download (1MB) | Preview |
|
|
Archive (ZIP) (Documenti_allegati)
- Other
Licence: Creative Commons Attribution Non-commercial Share Alike. Download (170kB) |
Abstract
Graphs are a general and powerful data structure that can model a large variety of concepts. Finding the similarity between two graphs and defining a measure of similarity between a set of graphs are important topics that can have various applications: malware detection, model checking, computer vision, and many more. In this work, the similarity between graphs will be evaluated computing the Maximum Common Subgraph (MCS) both using an exhaustive algorithm, which compares two graphs, and both using an algorithm inspired by a general search algorithm which can instead compute the approximate similarity between a set of graphs. To compute the similarity between graphs, it is necessary to define the equivalence between vertices: given two graphs A and B, a vertex x belonging to A is equivalent to a vertex y belonging to B, if two conditions are met: they are of the same type (which is defined by the specific problem), and if some of x’s parents and/or children vertices belong to some equivalence class, also y must have matching parents and/or children in the same equivalence classes.
This definition has been extended to an equivalence between n vertices of n different graphs
Relators
Publication type
URI
![]() |
Modify record (reserved for operators) |
