Struct graph_neighbor_matching::IgnoreNodeColors [] [src]

pub struct IgnoreNodeColors;

Trait Implementations

impl Debug for IgnoreNodeColors
[src]

[src]

Formats the value using the given formatter.

impl<T> NodeColorMatching<T> for IgnoreNodeColors
[src]

[src]

Determines how close or distant two nodes with node weights node_value_i of graph A, and node_value_j of graph B are. If they have different colors, this method could return 0.0 to describe that they are completely different nodes and as such the neighbor matching will try to choose a different node. NOTE: The returned value MUST be in the range [0, 1]. Read more