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

Method max

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

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

(
        &self,
    )

Source from the content-addressed store, hash-verified

88 /// Returns:
89 /// IntervalsIntegerView: A lazy view over the maximum interval between consecutive timestamps for each node. The maximum is None if there is fewer than 1 interval.
90 pub fn max(
91 &self,
92 ) -> LazyNodeState<
93 'static,
94 ArrowMap<Map<HistoryIntervals<DynamicGraph>, Option<i64>>, IntervalStruct>,
95 DynamicGraph,
96 DynamicGraph,
97 DynNodeFilter,
98 > {
99 let op = self.inner.op.clone().map(|v| v.max());
100 LazyNodeState::new(op.into_arrow_node_op(), self.inner.nodes())
101 }
102
103 /// Calculate the minimum interval in milliseconds for each node.
104 ///

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