pub struct BiconnectedComponentsScratch<GH> { /* private fields */ }Implementations§
Source§impl<GH> BiconnectedComponentsScratch<GH>where
GH: DebugIterationStep + FindPruningCounts + GetEdges + GetNeighborsForNode + GetNodeIdRange + GetSigmaValueForNode + HasEdge + InitDebugIteration + InsertEdge + MappedNodes + NumEdges + NumNodes + PairDependencyForNode + ParentsForNode + RemoveEdge,
impl<GH> BiconnectedComponentsScratch<GH>where
GH: DebugIterationStep + FindPruningCounts + GetEdges + GetNeighborsForNode + GetNodeIdRange + GetSigmaValueForNode + HasEdge + InitDebugIteration + InsertEdge + MappedNodes + NumEdges + NumNodes + PairDependencyForNode + ParentsForNode + RemoveEdge,
pub fn bcc_fast_subgraph_label_map_outin(&self, n: NodeId) -> NodeId
pub fn bcc_subgraph_parents_for_node(&self, n: NodeId) -> Vec<NodeId>
pub fn bcc_subgraph_insert_edge(&mut self, e: &Edge)
pub fn bcc_subgraph_init_dbg_iteration(&mut self, s: NodeId)
pub fn bcc_subgraph_dbg_iteration_step( &mut self, v_s: &mut Vec<NodeId>, ) -> Result<(), BetweennessCentralityError>
pub fn bcc_subgraph_remove_edge( &mut self, edge: &Edge, ) -> Result<(), BetweennessCentralityError>
pub fn bcc_subgraph_num_nodes(&self) -> usize
pub fn bcc_subgraph_num_edges(&self) -> usize
pub fn bcc_subgraph_find_pruning_counts_exp( &mut self, src: NodeId, dst: NodeId, ) -> Result<(i32, i32, i32), BetweennessCentralityError>
pub fn bcc_subgraph_sigma_value_for_node(&self, node: NodeId) -> f64
pub fn bcc_subgraph_pair_dependency_for_node(&self, node: NodeId) -> f64
pub fn bcc_subgraph_mapped_nodes(&self) -> Vec<NodeId>
pub fn bcc_subgraph_has_edge(&self, e: &Edge) -> bool
pub fn has_both_articulation_points(&self, x: NodeId, y: NodeId) -> bool
pub fn has_either_articulation_point(&self, x: NodeId, y: NodeId) -> bool
pub fn has_articulation_point(&self, x: NodeId) -> bool
pub fn articulation_point_map_reinit(&mut self, len: usize)
pub fn articulation_point_map_clear(&mut self)
pub fn num_mapped_articulation_points(&self) -> usize
pub fn subgraph_micentraltude_through_articulation_point( &self, source: NodeId, ) -> f64
pub fn subgraphs_product_through_articulation_points( &self, s: NodeId, n: NodeId, ) -> f64
pub fn map_articulation_point(&mut self, x: NodeId, sizes: &Vec<usize>)
pub fn articulation_point_map_iter(&self) -> Iter<'_, NodeId, Vec<usize>>
pub fn bcc_fast_subgraph_reset_with_graphhash(&mut self)
pub fn set_articulation_point_map(&mut self, other: ArticulationPointMap)
pub fn bcc_subgraph(&self) -> &GH
pub fn bcc_subgraph_mut(&mut self) -> &mut GH
pub fn compute_bc( &mut self, scores: &mut BetweennessScores, max_iter: Option<usize>, ) -> Result<(), BetweennessCentralityError>
pub fn bc_iter( &mut self, s: NodeId, scores: &mut BetweennessScores, ) -> Result<(), BetweennessCentralityError>
Trait Implementations§
Source§impl<GH> CreateNamedEmpty for BiconnectedComponentsScratch<GH>where
GH: CreateNamedEmpty,
impl<GH> CreateNamedEmpty for BiconnectedComponentsScratch<GH>where
GH: CreateNamedEmpty,
Source§impl<GH> Debug for BiconnectedComponentsScratch<GH>
impl<GH> Debug for BiconnectedComponentsScratch<GH>
Auto Trait Implementations§
impl<GH> Freeze for BiconnectedComponentsScratch<GH>where
GH: Freeze,
impl<GH> RefUnwindSafe for BiconnectedComponentsScratch<GH>where
GH: RefUnwindSafe,
impl<GH> Send for BiconnectedComponentsScratch<GH>where
GH: Send,
impl<GH> Sync for BiconnectedComponentsScratch<GH>where
GH: Sync,
impl<GH> Unpin for BiconnectedComponentsScratch<GH>where
GH: Unpin,
impl<GH> UnsafeUnpin for BiconnectedComponentsScratch<GH>where
GH: UnsafeUnpin,
impl<GH> UnwindSafe for BiconnectedComponentsScratch<GH>where
GH: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PoisonMessage for Twhere
T: Debug,
impl<T> PoisonMessage for Twhere
T: Debug,
fn poison_message(&self) -> String
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.