gtsam
3rdparty
metis
GKlib
pqueue.c
Go to the documentation of this file.
1
12
#include <
GKlib.h
>
13
14
15
/*************************************************************************/
17
/*************************************************************************/
18
#define key_gt(a, b) ((a) > (b))
19
GK_MKPQUEUE
(gk_ipq, gk_ipq_t, gk_ikv_t,
int
,
gk_idx_t
, gk_ikvmalloc, INT_MAX,
key_gt
)
20
GK_MKPQUEUE
(gk_i32pq, gk_i32pq_t, gk_i32kv_t,
int32_t
,
gk_idx_t
, gk_i32kvmalloc,
INT32_MAX
,
key_gt
)
21
GK_MKPQUEUE
(gk_i64pq, gk_i64pq_t, gk_i64kv_t,
int64_t
,
gk_idx_t
, gk_i64kvmalloc,
INT64_MAX
,
key_gt
)
22
GK_MKPQUEUE
(gk_fpq, gk_fpq_t, gk_fkv_t,
float
,
gk_idx_t
, gk_fkvmalloc, FLT_MAX,
key_gt
)
23
GK_MKPQUEUE
(gk_dpq, gk_dpq_t, gk_dkv_t,
double
,
gk_idx_t
, gk_dkvmalloc, DBL_MAX,
key_gt
)
24
GK_MKPQUEUE
(gk_idxpq, gk_idxpq_t, gk_idxkv_t,
gk_idx_t
,
gk_idx_t
, gk_idxkvmalloc,
GK_IDX_MAX
,
key_gt
)
25
#undef key_gt
GK_IDX_MAX
#define GK_IDX_MAX
Definition:
gk_types.h:32
INT64_MAX
#define INT64_MAX
Definition:
ms_stdint.h:144
gk_idx_t
ssize_t gk_idx_t
Definition:
gk_types.h:22
key_gt
#define key_gt(a, b)
Definition:
pqueue.c:18
int64_t
signed __int64 int64_t
Definition:
ms_stdint.h:94
GK_MKPQUEUE
#define GK_MKPQUEUE(FPRFX, PQT, KVT, KT, VT, KVMALLOC, KMAX, KEY_LT)
Definition:
gk_mkpqueue.h:15
INT32_MAX
#define INT32_MAX
Definition:
ms_stdint.h:142
GKlib.h
int32_t
signed int int32_t
Definition:
ms_stdint.h:82
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:37