pub struct ClosenessCentralityAlgorithm;Expand description
Closeness centrality algorithm wrapper.
Trait Implementations§
Source§impl GraphAlgorithm for ClosenessCentralityAlgorithm
impl GraphAlgorithm for ClosenessCentralityAlgorithm
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 ClosenessCentralityAlgorithm
impl RefUnwindSafe for ClosenessCentralityAlgorithm
impl Send for ClosenessCentralityAlgorithm
impl Sync for ClosenessCentralityAlgorithm
impl Unpin for ClosenessCentralityAlgorithm
impl UnwindSafe for ClosenessCentralityAlgorithm
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