hex.tree.isoforextended.isolationtree.AbstractCompressedNode Maven / Gradle / Ivy
package hex.tree.isoforextended.isolationtree;
import water.AutoBuffer;
import water.Iced;
/**
* Upper class for {@link CompressedNode} and {@link CompressedLeaf} used to access both types from array.
*/
public abstract class AbstractCompressedNode extends Iced {
private final int _height;
public AbstractCompressedNode(int height) {
_height = height;
}
public int getHeight() {
return _height;
}
/**
* Serialize Node to the byte buffer
*/
public abstract void toBytes(AutoBuffer ab);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy