Trait SteinerTreeExt

Source
pub trait SteinerTreeExt: Vertices {
    // Provided method
    fn steiner_tree<'a, S, M, I>(
        &self,
        terminals: I,
        weight: &'a M,
    ) -> SteinerTreeOutput<'_, S, Self>
       where Self: VertexMap<S::T> + AdjacencyView<'a, M, S::T>,
             S: ShortestPathSemiRing,
             I: IntoIterator<Item = Self::VIndex> + ExactSizeIterator { ... }
}

Provided Methods§

Source

fn steiner_tree<'a, S, M, I>( &self, terminals: I, weight: &'a M, ) -> SteinerTreeOutput<'_, S, Self>
where Self: VertexMap<S::T> + AdjacencyView<'a, M, S::T>, S: ShortestPathSemiRing, I: IntoIterator<Item = Self::VIndex> + ExactSizeIterator,

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§

Source§

impl<G> SteinerTreeExt for G
where G: Vertices,