Macros
gk_mkpqueue.h File Reference

Templates for priority queues. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GK_MKPQUEUE(FPRFX, PQT, KVT, KT, VT, KVMALLOC, KMAX, KEY_LT)
 
#define GK_MKPQUEUE_PROTO(FPRFX, PQT, KT, VT)
 

Detailed Description

Templates for priority queues.

Date
Started 4/09/07
Author
George
Version
$Id: gk_mkpqueue.h 13005 2012-10-23 22:34:36Z karypis $ 

Definition in file gk_mkpqueue.h.

Macro Definition Documentation

◆ GK_MKPQUEUE

#define GK_MKPQUEUE (   FPRFX,
  PQT,
  KVT,
  KT,
  VT,
  KVMALLOC,
  KMAX,
  KEY_LT 
)

Definition at line 15 of file gk_mkpqueue.h.

◆ GK_MKPQUEUE_PROTO

#define GK_MKPQUEUE_PROTO (   FPRFX,
  PQT,
  KT,
  VT 
)
Value:
PQT * FPRFX ## Create(size_t maxnodes);\
void FPRFX ## Init(PQT *queue, size_t maxnodes);\
void FPRFX ## Reset(PQT *queue);\
void FPRFX ## Free(PQT *queue);\
void FPRFX ## Destroy(PQT *queue);\
size_t FPRFX ## Length(PQT *queue);\
int FPRFX ## Insert(PQT *queue, VT node, KT key);\
int FPRFX ## Delete(PQT *queue, VT node);\
void FPRFX ## Update(PQT *queue, VT node, KT newkey);\
VT FPRFX ## GetTop(PQT *queue);\
VT FPRFX ## SeeTopVal(PQT *queue);\
KT FPRFX ## SeeTopKey(PQT *queue);\
KT FPRFX ## SeeKey(PQT *queue, VT node);\
VT FPRFX ## SeeConstraintTop(PQT *queue, KT maxwgt, KT *wgts);\
int FPRFX ## CheckHeap(PQT *queue);\
const gtsam::Symbol key('X', 0)

Definition at line 413 of file gk_mkpqueue.h.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:49