pub struct FlowUseCase<S> { /* private fields */ }Implementations§
Source§impl<S: GraphStore> FlowUseCase<S>
impl<S: GraphStore> FlowUseCase<S>
pub fn new(store: S) -> Self
Sourcepub fn analyze(&self, config: &FlowConfig) -> Result<FlowAnalysis>
pub fn analyze(&self, config: &FlowConfig) -> Result<FlowAnalysis>
Full flow analysis: detect entry points, enumerate flows, compute criticality.
Sourcepub fn flows_through(
&self,
qualified_name: &str,
config: &FlowConfig,
) -> Result<Vec<ExecutionFlow>>
pub fn flows_through( &self, qualified_name: &str, config: &FlowConfig, ) -> Result<Vec<ExecutionFlow>>
Find flows passing through a specific symbol (optimized: backward BFS first).
Sourcepub fn criticality(&self) -> Result<Vec<CriticalityScore>>
pub fn criticality(&self) -> Result<Vec<CriticalityScore>>
Get criticality scores sorted descending by betweenness.
Auto Trait Implementations§
impl<S> Freeze for FlowUseCase<S>where
S: Freeze,
impl<S> RefUnwindSafe for FlowUseCase<S>where
S: RefUnwindSafe,
impl<S> Send for FlowUseCase<S>where
S: Send,
impl<S> Sync for FlowUseCase<S>where
S: Sync,
impl<S> Unpin for FlowUseCase<S>where
S: Unpin,
impl<S> UnsafeUnpin for FlowUseCase<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for FlowUseCase<S>where
S: 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