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

Method entry

raphtory/src/db/task/node/eval_node.rs:188–202  ·  view source on GitHub ↗

Read the current value of the node state using the given accumulator. Returns a default value if the value is not present.

(
        &self,
        agg_r: &AccId<A, IN, OUT, ACC>,
    )

Source from the content-addressed store, hash-verified

186 /// Read the current value of the node state using the given accumulator.
187 /// Returns a default value if the value is not present.
188 pub fn entry<A, IN, OUT, ACC: Accumulator<A, IN, OUT>>(
189 &self,
190 agg_r: &AccId<A, IN, OUT, ACC>,
191 ) -> Entry<'_, '_, A, IN, OUT, ACC, CS>
192 where
193 A: StateType,
194 OUT: std::fmt::Debug,
195 {
196 Entry::new(
197 self.node_state(),
198 *agg_r,
199 self.state_pos,
200 self.eval_graph.ss,
201 )
202 }
203
204 /// Read the prev value of the node state using the given accumulator.
205 /// Returns a default value if the value is not present.

Callers 15

unbind_unused_bindsFunction · 0.45
assert_valid_graphFunction · 0.45
group_by_valueFunction · 0.45
to_networkxMethod · 0.45
accumulate_intoMethod · 0.45
get_groupsMethod · 0.45
newMethod · 0.45
out_component_filteredFunction · 0.45
in_component_filteredFunction · 0.45
betweenness_centralityFunction · 0.45
triangle_motifsFunction · 0.45

Calls 1

node_stateMethod · 0.80

Tested by 1

group_by_valueFunction · 0.36