reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
pqueue_t Struct Reference

#include <pqueue_base.h>

Data Fields

size_t size
 
size_t avail
 
size_t step
 
pqueue_cmp_pri_f cmppri
 
pqueue_get_pri_f getpri
 
pqueue_get_pos_f getpos
 
pqueue_set_pos_f setpos
 
pqueue_eq_elem_f eqelem
 
pqueue_print_entry_f prt
 
void ** d
 

Detailed Description

The priority queue handle.

Field Documentation

◆ avail

size_t pqueue_t::avail

slots available in this queue

◆ cmppri

pqueue_cmp_pri_f pqueue_t::cmppri

callback to compare priorities

◆ d

void** pqueue_t::d

The actual queue in binary heap form

◆ eqelem

pqueue_eq_elem_f pqueue_t::eqelem

callback to compare elements

◆ getpos

pqueue_get_pos_f pqueue_t::getpos

callback to get position of a node

◆ getpri

pqueue_get_pri_f pqueue_t::getpri

callback to get priority of a node

◆ prt

pqueue_print_entry_f pqueue_t::prt

callback to print elements

◆ setpos

pqueue_set_pos_f pqueue_t::setpos

callback to set position of a node

◆ size

size_t pqueue_t::size

number of elements in this queue plus 1

◆ step

size_t pqueue_t::step

growth stepping setting


The documentation for this struct was generated from the following file: