dbl_priority.c File Reference

#include "qs_config.h"
#include "machdefs.h"
#include "dbl_priority.h"
#include "allocrus.h"
#include "except.h"

Include dependency graph for dbl_priority.c:

Go to the source code of this file.

Functions

void dbl_ILLutil_priority_changekey (dbl_ILLpriority *pri, int handle, double *newkey)
void dbl_ILLutil_priority_delete (dbl_ILLpriority *pri, int handle)
void dbl_ILLutil_priority_deletemin (dbl_ILLpriority *pri, double *keyval, void **en)
void dbl_ILLutil_priority_findmin (dbl_ILLpriority *pri, double *keyval, void **en)
void dbl_ILLutil_priority_free (dbl_ILLpriority *pri)
int dbl_ILLutil_priority_init (dbl_ILLpriority *pri, int k)
int dbl_ILLutil_priority_insert (dbl_ILLpriority *pri, void *data, double *keyval, int *handle)


Function Documentation

void dbl_ILLutil_priority_changekey ( dbl_ILLpriority pri,
int  handle,
double *  newkey 
)

Definition at line 249 of file dbl_priority.c.

References dbl_ILLpriority::dbl_heap, and dbl_ILLutil_dheap_changekey().

Here is the call graph for this function:

void dbl_ILLutil_priority_delete ( dbl_ILLpriority pri,
int  handle 
)

Definition at line 215 of file dbl_priority.c.

References dbl_ILLpriority::dbl_heap, dbl_ILLutil_dheap_delete(), dbl_ILLpriority::freelist, and dbl_ILLpriority::pri_info.

Here is the call graph for this function:

void dbl_ILLutil_priority_deletemin ( dbl_ILLpriority pri,
double *  keyval,
void **  en 
)

Definition at line 224 of file dbl_priority.c.

References dbl_ILLpriority::dbl_heap, dbl_ILLutil_dheap_deletemin(), dbl_ILLpriority::freelist, dbl_ILLdheap::key, NULL, and dbl_ILLpriority::pri_info.

Here is the call graph for this function:

void dbl_ILLutil_priority_findmin ( dbl_ILLpriority pri,
double *  keyval,
void **  en 
)

Definition at line 143 of file dbl_priority.c.

References dbl_ILLpriority::dbl_heap, dbl_ILLutil_dheap_findmin(), dbl_ILLdheap::key, NULL, and dbl_ILLpriority::pri_info.

Here is the call graph for this function:

void dbl_ILLutil_priority_free ( dbl_ILLpriority pri  ) 

Definition at line 134 of file dbl_priority.c.

References dbl_ILLpriority::dbl_heap, dbl_ILLutil_dheap_free(), ILL_IFFREE, dbl_ILLpriority::pri_info, and dbl_ILLpriority::space.

Here is the call graph for this function:

int dbl_ILLutil_priority_init ( dbl_ILLpriority pri,
int  k 
)

Definition at line 103 of file dbl_priority.c.

References dbl_ILLpriority::dbl_heap, dbl_ILLutil_dheap_init(), dbl_ILLpriority::freelist, ILL_CLEANUP_IF, ILL_IFFREE, ILL_SAFE_MALLOC, dbl_ILLpriority::pri_info, and dbl_ILLpriority::space.

Here is the call graph for this function:

int dbl_ILLutil_priority_insert ( dbl_ILLpriority pri,
void *  data,
double *  keyval,
int *  handle 
)

Definition at line 164 of file dbl_priority.c.

References dbl_ILLpriority::dbl_heap, dbl_ILLutil_dheap_insert(), dbl_ILLutil_dheap_resize(), dbl_ILLpriority::freelist, ILL_CLEANUP_IF, dbl_ILLdheap::key, dbl_ILLpriority::pri_info, and dbl_ILLpriority::space.

Here is the call graph for this function:


Generated on Thu Mar 29 09:34:03 2012 for QSopt_ex by  doxygen 1.4.7