Edit distance between two graphs

后端 未结 4 1029
终归单人心
终归单人心 2020-12-28 16:01

I\'m just wondering if, like for strings where we have the Levenshtein distance (or edit distance) between two strings, is there something similar for graphs?

I mean

4条回答
  •  滥情空心
    2020-12-28 16:48

    Note:

    The Levenshtein distance (or edit distance) is between two strings

    But in Graph you should search between at least N! position that you find Identity of each edge and vertex. You can compare between two graph by unique index easily,But The master question is define identity for each vertex and edge.this question (find identity for each vertex and edge in two graph that they can to transform ) is very hard and was called isomorphism problem (NP-Complete). You can search about isomorphism graph.

提交回复
热议问题