// removeFromForest()
~ETNode() {
delete RightmostOcc;
+ delete ParentOcc;
}
void removeFromForest() {
return DFSNumOut;
}
+ const ETNode *getSon() const {
+ return Son;
+ }
+
+ const ETNode *getBrother() const {
+ return Left;
+ }
+
private:
// Data represented by the node
void *data;