view src/parallel_execution/plautogen/impl/RedBlackTree.h @ 571:d9c3bccaa13c

add semiron..
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 24 Nov 2019 22:55:33 +0900
parents 1233236c244d
children 78e10562b210
line wrap: on
line source

typedef struct RedBlackTree <Type, Isa> 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;
  __code findNodeNext(...);
  int result;
} RedBlackTree;