Expand description
A graph similarity score using neighbor matching according to this paper.
TODO: Introduce EdgeWeight trait to abstract edge weight similarity.
Modules§
Structs§
- Ignore
Node Colors - Use
IgnoreNodeColorsto ignore node colors. - Similarity
Matrix - Weighted
Node Colors - Use
WeightedNodeColorsto use the distance of both nodesnode_color_weightas a measure of the similarity between these nodes.
Enums§
Traits§
- Edges
- Abstract representation of the edges of a node. Used by the algorithm.
- Graph
- Abstract representation of a Graph. Used by the algorithm.
- Node
Color Matching - Describes the closeness of two nodes based on their colors. The color can be thought of as a
node type. For example if you have a graph with nodes of type A and B which represent
completely different things, you’d assign them a
node_color_matchingvalue of 0.0. This will tell our algorithm not to try to match these two nodes and their edges. - Node
Color Weight - The weight of the node color.
Functions§
Type Aliases§
- Edge
Weight - The weight of an edge.