| Prakticke aspekty vývoje softwaru: Projekt 1 – Testování
    1.0
    Projekt zaměřený na osvojení praktik testování včetně technik test driven development, black box testing a white box testing. | 
 
 
 
   22 #ifndef RED_BLACK_TREE_LIB_H_ 
   23 #define RED_BLACK_TREE_LIB_H_ 
   51 void BTCreate(
Node_t **ppRoot);
 
   52 void BTDestroy(
Node_t **ppRoot);
 
   55 void BTInsertNodeMany(
Node_t **ppRoot, 
size_t count, 
const int *pKeys,
 
   56                       Node_t **ppOutNodes, 
int *pOutStates);
 
   57 int BTDeleteNode(
Node_t **ppRoot, 
int key);
 
   59 void BTGetLeafNodes(
Node_t *pRoot, 
size_t *pOutNodesCount, 
Node_t **ppOutNodes);
 
   60 void BTGetAllNodes(
Node_t *pRoot, 
size_t *pOutNodesCount, 
Node_t **ppOutNodes);
 
   61 void BTGetNonLeafNodes(
Node_t *pRoot, 
size_t *pOutNodesCount, 
Node_t **ppOutNodes);
 
   67 #endif // RED_BLACK_TREE_LIB_H_ 
  
The Node_t struct Struktura uzlu stromu.
Definition: red_black_tree_lib.h:42
struct Node_t * pParent
Ukazatel na rodice uzlu, nebo NULL v pripade korene.
Definition: red_black_tree_lib.h:43
int color
Barva uzlu (Color_t), tj. RED nebo BLACK.
Definition: red_black_tree_lib.h:46
struct Node_t * pRight
Ukazatel na praveho potomka uzlu, nebo NULL pro listovy uzel.
Definition: red_black_tree_lib.h:45
struct Node_t * pLeft
Ukazatel na leveho potomka uzlu, nebo NULL pro listovy uzel.
Definition: red_black_tree_lib.h:44
int key
Hodnota/klic tohoto uzlu.
Definition: red_black_tree_lib.h:48