pub enum ValidationAlgorithm {
ConnectedComponents,
StronglyConnectedComponents,
PageRank {
damping: f64,
max_iterations: usize,
tolerance: f64,
},
BetweennessCentrality,
ClosenessCentrality,
DegreeCentrality,
ShortestPaths {
source: usize,
},
AllPairsShortestPaths,
LouvainCommunities,
LabelPropagation {
max_iterations: usize,
},
}Expand description
Algorithms available for validation
Variants§
ConnectedComponents
StronglyConnectedComponents
PageRank
BetweennessCentrality
ClosenessCentrality
DegreeCentrality
ShortestPaths
AllPairsShortestPaths
LouvainCommunities
LabelPropagation
Trait Implementations§
Source§impl Clone for ValidationAlgorithm
impl Clone for ValidationAlgorithm
Source§fn clone(&self) -> ValidationAlgorithm
fn clone(&self) -> ValidationAlgorithm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidationAlgorithm
impl Debug for ValidationAlgorithm
Source§impl Hash for ValidationAlgorithm
impl Hash for ValidationAlgorithm
Source§impl PartialEq for ValidationAlgorithm
impl PartialEq for ValidationAlgorithm
impl Eq for ValidationAlgorithm
impl StructuralPartialEq for ValidationAlgorithm
Auto Trait Implementations§
impl Freeze for ValidationAlgorithm
impl RefUnwindSafe for ValidationAlgorithm
impl Send for ValidationAlgorithm
impl Sync for ValidationAlgorithm
impl Unpin for ValidationAlgorithm
impl UnwindSafe for ValidationAlgorithm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more