Example #1
0
 public Node(int parent, int4 evaluation, Move mv)
 {
     valid       = true;
     this.parent = parent;
     children    = default;
     evalSelf    = evaluation;
     evalSum     = default;
     holdUsed    = mv.hold;
     holdOnly    = mv.holdOnly;
     visits      = 1;
     piece       = mv.piece;
 }
Example #2
0
 public Node(int parent)
 {
     valid       = true;
     this.parent = parent;
     children    = default;
     evalSelf    = default;
     evalSum     = default;
     holdUsed    = false;
     holdOnly    = false;
     visits      = 1;
     piece       = default;
 }