view src/parallel_execution/plautogen/impl/RedBlackTree.h @ 1047:e4b5151e2bb5

...
author matac42 <matac@cr.ie.u-ryukyu.ac.jp>
date Mon, 22 Jan 2024 23:25:28 +0900
parents 9323327f09ae
children 81439e83c4d2
line wrap: on
line source

typedef struct RedBlackTree <> impl Tree {
  struct Node* root;
  struct Node* current; // reading node of original tree;
  struct Node* previous; // parent of reading node of original tree;
  struct Node* newNode; // writing node of new tree;
  struct Node* parent;
  struct Node* grandparent;
  struct Stack* nodeStack;
  struct Stack* inputStack;
  struct Stack* outputStack;
  __code findNodeNext(...);
  int result;
} RedBlackTree;