navit  0.5.3-trunk
fib.h File Reference

Go to the source code of this file.

Typedefs

typedef int(* voidcmp) (void *, void *)
 

Functions

struct fibheapfh_makekeyheap (void)
 
struct fibheap_elfh_insertkey (struct fibheap *, int, void *)
 
int fh_minkey (struct fibheap *)
 
int fh_replacekey (struct fibheap *, struct fibheap_el *, int)
 
void * fh_replacekeydata (struct fibheap *, struct fibheap_el *, int, void *)
 
struct fibheapfh_makeheap (void)
 
voidcmp fh_setcmp (struct fibheap *, voidcmp)
 
void * fh_setneginf (struct fibheap *, void *)
 
struct fibheap_elfh_insert (struct fibheap *, void *)
 
void * fh_extractmin (struct fibheap *)
 
void * fh_min (struct fibheap *)
 
void * fh_replacedata (struct fibheap *, struct fibheap_el *, void *)
 
void * fh_delete (struct fibheap *, struct fibheap_el *)
 
void fh_deleteheap (struct fibheap *)
 
struct fibheapfh_union (struct fibheap *, struct fibheap *)
 

Typedef Documentation

◆ voidcmp

typedef int(* voidcmp) (void *, void *)

Function Documentation

◆ fh_delete()

void* fh_delete ( struct fibheap h,
struct fibheap_el x 
)

◆ fh_deleteheap()

◆ fh_extractmin()

◆ fh_insert()

struct fibheap_el* fh_insert ( struct fibheap h,
void *  data 
)

References data, fh_insertel(), fibheap_el::fhe_data, and fhe_newelem().

Referenced by main().

◆ fh_insertkey()

◆ fh_makeheap()

struct fibheap* fh_makeheap ( void  )

References fh_initheap().

Referenced by main().

◆ fh_makekeyheap()

struct fibheap* fh_makekeyheap ( void  )

◆ fh_min()

void* fh_min ( struct fibheap h)

◆ fh_minkey()

int fh_minkey ( struct fibheap h)

References fibheap::fh_min, and fibheap_el::fhe_key.

Referenced by gui_internal_cmd_pois(), and main().

◆ fh_replacedata()

void* fh_replacedata ( struct fibheap h,
struct fibheap_el x,
void *  data 
)

References data, fh_replacekeydata(), and fibheap_el::fhe_key.

Referenced by fh_delete(), and fh_deleteel().

◆ fh_replacekey()

int fh_replacekey ( struct fibheap h,
struct fibheap_el x,
int  key 
)

◆ fh_replacekeydata()

void* fh_replacekeydata ( struct fibheap h,
struct fibheap_el x,
int  key,
void *  data 
)

◆ fh_setcmp()

voidcmp fh_setcmp ( struct fibheap h,
voidcmp  fnct 
)

References fibheap::fh_cmp_fnct.

Referenced by main().

◆ fh_setneginf()

void* fh_setneginf ( struct fibheap h,
void *  data 
)

References data, and fibheap::fh_neginf.

◆ fh_union()