view src/parallel_execution/plautogen/interface/Node.h @ 575:3e3158198cb5

bug fix...
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Mon, 25 Nov 2019 17:03:33 +0900
parents 1233236c244d
children
line wrap: on
line source

typedef struct Node <Type, Impl> {
  int key; // comparable data segment;
  union Data* value;
  struct Node* left;
  struct Node* right;
          // need to balancing
  enum Color {
      Red,
      Black,
      // Red eq 0,Black eq 1. enum name convert intager.
  }color;
} Node;