Graph Edit Distance Calculator (Heuristic)

This tool calculates an approximate graph edit distance between two randomly generated graphs using a heuristic approach. Graph edit distance is generally an NP-hard problem, meaning exact computation is computationally intensive for large graphs. This heuristic estimates the cost of transforming one graph into another by considering differences in:

The costs for each elementary operation (vertex/edge insertion or deletion) are predefined as 1 for simplicity. Vertex and edge substitutions are implicitly handled as a deletion of one type and an insertion of another matching type.

Graph 1

Graph 2

Distance: N/A