MCPcopy Create free account
hub / github.com/Pometry/Raphtory / min

Method min

raphtory/src/python/graph/node_state/node_state_intervals.rs:107–118  ·  view source on GitHub ↗

Calculate the minimum interval in milliseconds for each node. Returns: IntervalsIntegerView: A lazy view over the minimum interval between consecutive timestamps for each node. The minimum is None if there is fewer than 1 interval.

(
        &self,
    )

Source from the content-addressed store, hash-verified

105 /// Returns:
106 /// IntervalsIntegerView: A lazy view over the minimum interval between consecutive timestamps for each node. The minimum is None if there is fewer than 1 interval.
107 pub fn min(
108 &self,
109 ) -> LazyNodeState<
110 'static,
111 ArrowMap<Map<HistoryIntervals<DynamicGraph>, Option<i64>>, IntervalStruct>,
112 DynamicGraph,
113 DynamicGraph,
114 DynNodeFilter,
115 > {
116 let op = self.inner.op.clone().map(|v| v.min());
117 LazyNodeState::new(op.into_arrow_node_op(), self.inner.nodes())
118 }
119}
120
121// types needed for LazyNodeStates generated above.

Callers

nothing calls this directly

Calls 8

into_arrow_node_opMethod · 0.80
mapMethod · 0.45
cloneMethod · 0.45
nodesMethod · 0.45
intoMethod · 0.45
iter_valuesMethod · 0.45
graphMethod · 0.45
idsMethod · 0.45

Tested by

no test coverage detected