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

Method compute

raphtory/src/python/graph/node_state/node_state_earliest_time.rs:135–139  ·  view source on GitHub ↗

Compute all DateTime values and return the result as a NodeState. Fails if any DateTime error is encountered. Returns: NodeStateOptionDateTime: the computed `NodeState`

(
        &self,
    )

Source from the content-addressed store, hash-verified

133 /// Returns:
134 /// NodeStateOptionDateTime: the computed `NodeState`
135 fn compute(
136 &self,
137 ) -> Result<NodeState<'static, Option<DateTime<Utc>>, DynamicGraph>, TimeError> {
138 self.inner.compute_result_type()
139 }
140
141 /// Compute all values and only return the valid results as a NodeState. DateTime errors are ignored.
142 ///

Callers 3

sorted_by_idMethod · 0.45
top_kMethod · 0.45
bottom_kMethod · 0.45

Calls 1

compute_result_typeMethod · 0.80

Tested by

no test coverage detected