Skip to content

How to define substitution cost? #32

@YenTran32

Description

@YenTran32

Hi.

I have a question about the substitution cost. When we define
ged=gm.GraphEditDistance(1,1,1,1), I think that the parameters are equal to node_del,node_ins,edge_del,edge_ins. Is there a way to input user-defined substitution cost matrix (e.g., a cost of 1 for a mis-match between two edges A and B, and a cost of 0 if two edges are identical)? Or the substitution costs are computed automatically?

Thank you.

Tran.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions