cugraph icon indicating copy to clipboard operation
cugraph copied to clipboard

Temporal Sampling - Support "last n" Behavior in C/C++/PLC APIs

Open alexbarghi-nv opened this issue 6 months ago • 0 comments
trafficstars

Support selecting the n vertices with the latest timestamp, to allow the temporal_strategy='last' behavior in PyG.

i.e. if fanout is [5, 5, 5] then on each hop for each vertex, we look at all the valid neighbors, order them by timestamp in descending order, and select the latest 5 (or potentially fewer than 5 if sampling without replacement).

alexbarghi-nv avatar Apr 21 '25 21:04 alexbarghi-nv