pub struct IgnoreNodeColors;Expand description
Use IgnoreNodeColors to ignore node colors.
Trait Implementations§
Source§impl Debug for IgnoreNodeColors
impl Debug for IgnoreNodeColors
Source§impl<T> NodeColorMatching<T> for IgnoreNodeColors
impl<T> NodeColorMatching<T> for IgnoreNodeColors
Source§fn node_color_matching(
&self,
_node_i_value: &T,
_node_j_value: &T,
) -> Closed01<f32>
fn node_color_matching( &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. Read moreAuto Trait Implementations§
impl Freeze for IgnoreNodeColors
impl RefUnwindSafe for IgnoreNodeColors
impl Send for IgnoreNodeColors
impl Sync for IgnoreNodeColors
impl Unpin for IgnoreNodeColors
impl UnwindSafe for IgnoreNodeColors
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more