Trait Heuristic

Source
pub trait Heuristic {
    type RngProvider: RngCore;

    // Required method
    fn handle_decision<T>(
        a: T::IdentifierType,
        b: T::IdentifierType,
        heuristic: &mut [usize],
        representative: &mut [T],
        r: &mut Self::RngProvider,
    )
       where T: VertexType;
}
Expand description

Heuristic for quick union algorithm

Required Associated Types§

Required Methods§

Source

fn handle_decision<T>( a: T::IdentifierType, b: T::IdentifierType, heuristic: &mut [usize], representative: &mut [T], r: &mut Self::RngProvider, )
where T: VertexType,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§