Workshop o mikrokontrolérech na SKSP 2024.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
599 B

2 months ago
/*
* UCW Library -- Binomial Heaps: Declarations
*
* (c) 2003 Martin Mares <mj@ucw.cz>
*
* This software may be freely distributed and used according to the terms
* of the GNU Lesser General Public License.
*/
#ifndef _UCW_BINHEAP_NODE_H
#define _UCW_BINHEAP_NODE_H
/***
* [[common]]
* Common definitions
* ------------------
***/
/**
* Common header of binomial heap nodes.
**/
struct bh_node {
struct bh_node *first_son;
struct bh_node *last_son;
struct bh_node *next_sibling;
byte order;
};
/**
* A binomial heap.
**/
struct bh_heap {
struct bh_node root;
};
#endif