pub struct BetweennessOptions {
pub mode: BetweennessMode,
pub normalized: bool,
pub endpoints: bool,
pub weight: PathWeight,
}Expand description
Node and edge betweenness options.
Fields§
§mode: BetweennessModeExact, sampled, or graph-size-selected sources.
normalized: boolApply NetworkX-compatible normalization.
endpoints: boolInclude path endpoints in node centrality. Ignored by edge centrality.
weight: PathWeightWeighted or unweighted shortest paths.
Implementations§
Source§impl BetweennessOptions
impl BetweennessOptions
Sourcepub fn graphify_default() -> Self
pub fn graphify_default() -> Self
Graphify’s audited exact/sample policy.
Trait Implementations§
Source§impl Clone for BetweennessOptions
impl Clone for BetweennessOptions
Source§fn clone(&self) -> BetweennessOptions
fn clone(&self) -> BetweennessOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BetweennessOptions
Source§impl Debug for BetweennessOptions
impl Debug for BetweennessOptions
Source§impl Default for BetweennessOptions
impl Default for BetweennessOptions
Source§impl<'de> Deserialize<'de> for BetweennessOptions
impl<'de> Deserialize<'de> for BetweennessOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BetweennessOptions
Source§impl PartialEq for BetweennessOptions
impl PartialEq for BetweennessOptions
Source§impl Serialize for BetweennessOptions
impl Serialize for BetweennessOptions
impl StructuralPartialEq for BetweennessOptions
Auto Trait Implementations§
impl Freeze for BetweennessOptions
impl RefUnwindSafe for BetweennessOptions
impl Send for BetweennessOptions
impl Sync for BetweennessOptions
impl Unpin for BetweennessOptions
impl UnsafeUnpin for BetweennessOptions
impl UnwindSafe for BetweennessOptions
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