PPL Logo

libs/ck-libs/metis/GKlib/fkvkselect.c File Reference

Go to the source code of this file.

Functions

int gk_dfkvkselect (size_t n, int topk, gk_fkv_t *cand)
int gk_ifkvkselect (size_t n, int topk, gk_fkv_t *cand)


Function Documentation

int gk_dfkvkselect ( size_t  n,
int  topk,
gk_fkv_t *  cand 
)

This function puts the 'topk' largest values in the beginning of the array

Definition at line 20 of file fkvkselect.c.

References key.

Referenced by gk_csr_GetSimilarRows().

Here is the caller graph for this function:

int gk_ifkvkselect ( size_t  n,
int  topk,
gk_fkv_t *  cand 
)

This function puts the 'topk' smallest values in the beginning of the array

Definition at line 84 of file fkvkselect.c.

References key.


Generated on Mon Sep 21 08:08:01 2020 for Charm++ by  doxygen 1.5.5