pub struct TemporalAnalytics { /* private fields */ }Expand description
Temporal analytics engine
Implementations§
Source§impl TemporalAnalytics
impl TemporalAnalytics
Sourcepub fn new(graph: TemporalGraph) -> Self
pub fn new(graph: TemporalGraph) -> Self
Create analytics engine
Sourcepub fn evolution_metrics(&self, query: &TemporalQuery) -> Vec<EvolutionMetrics>
pub fn evolution_metrics(&self, query: &TemporalQuery) -> Vec<EvolutionMetrics>
Calculate evolution metrics over time
Sourcepub fn node_churn(&self, query: &TemporalQuery) -> NodeChurn
pub fn node_churn(&self, query: &TemporalQuery) -> NodeChurn
Detect node churn (nodes appearing/disappearing)
Sourcepub fn top_growing_nodes(
&self,
query: &TemporalQuery,
top_k: usize,
) -> Vec<(String, f32)>
pub fn top_growing_nodes( &self, query: &TemporalQuery, top_k: usize, ) -> Vec<(String, f32)>
Find nodes with highest activity growth
Sourcepub fn temporal_centrality(
&self,
node: &str,
query: &TemporalQuery,
) -> Vec<(i64, f32)>
pub fn temporal_centrality( &self, node: &str, query: &TemporalQuery, ) -> Vec<(i64, f32)>
Get temporal centrality (activity over time)
Auto Trait Implementations§
impl Freeze for TemporalAnalytics
impl RefUnwindSafe for TemporalAnalytics
impl Send for TemporalAnalytics
impl Sync for TemporalAnalytics
impl Unpin for TemporalAnalytics
impl UnsafeUnpin for TemporalAnalytics
impl UnwindSafe for TemporalAnalytics
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> 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 more