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, Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering), 2019
|
Preview |
PDF (Tesi_di_laurea)
- Tesi
Licenza: Creative Commons Attribution Non-commercial Share Alike. Download (1MB) | Preview |
|
|
Archive (ZIP) (Documenti_allegati)
- Altro
Licenza: 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
Relatori
Tipo di pubblicazione
URI
![]() |
Modifica (riservato agli operatori) |
