pub struct CentralityParams {
pub algorithm: CentralityAlgorithm,
pub max_iterations: u32,
pub tolerance: f32,
pub top_k: usize,
pub event_types: Vec<EventType>,
pub edge_types: Vec<EdgeType>,
}Expand description
Parameters for a centrality query.
Fields§
§algorithm: CentralityAlgorithm§max_iterations: u32§tolerance: f32§top_k: usize§event_types: Vec<EventType>§edge_types: Vec<EdgeType>Auto Trait Implementations§
impl Freeze for CentralityParams
impl RefUnwindSafe for CentralityParams
impl Send for CentralityParams
impl Sync for CentralityParams
impl Unpin for CentralityParams
impl UnsafeUnpin for CentralityParams
impl UnwindSafe for CentralityParams
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