Struct graph_neighbor_matching::IgnoreNodeColors
[−]
[src]
pub struct IgnoreNodeColors;
Trait Implementations
impl Debug for IgnoreNodeColors
[src]
impl<T> NodeColorMatching<T> for IgnoreNodeColors
[src]
fn node_color_matching(
&self,
_node_i_value: &T,
_node_j_value: &T
) -> Closed01<f32>
[src]
&self,
_node_i_value: &T,
_node_j_value: &T
) -> Closed01<f32>
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