pub struct PrimAlgorithm;Expand description
Prim’s MST algorithm wrapper.
Trait Implementations§
Source§impl GraphAlgorithm for PrimAlgorithm
impl GraphAlgorithm for PrimAlgorithm
Source§fn description(&self) -> &str
fn description(&self) -> &str
Returns a description of the algorithm.
Source§fn parameters(&self) -> &[ParameterDef]
fn parameters(&self) -> &[ParameterDef]
Returns the parameter definitions for this algorithm.
Source§fn execute(
&self,
store: &LpgStore,
params: &Parameters,
) -> Result<AlgorithmResult>
fn execute( &self, store: &LpgStore, params: &Parameters, ) -> Result<AlgorithmResult>
Executes the algorithm on the given graph store.
Auto Trait Implementations§
impl Freeze for PrimAlgorithm
impl RefUnwindSafe for PrimAlgorithm
impl Send for PrimAlgorithm
impl Sync for PrimAlgorithm
impl Unpin for PrimAlgorithm
impl UnwindSafe for PrimAlgorithm
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