public class CompressedNode extends AbstractCompressedNode
Constructor and Description |
---|
CompressedNode(double[] n,
double[] p,
int currentHeight) |
CompressedNode(IsolationTree.Node node) |
Modifier and Type | Method and Description |
---|---|
double[] |
getN() |
double[] |
getP() |
void |
toBytes(water.AutoBuffer ab)
The structure of the bytes is:
|identifierOfTheNodeType|nvalues|pvalues|
|
getHeight
public CompressedNode(IsolationTree.Node node)
public CompressedNode(double[] n, double[] p, int currentHeight)
public double[] getN()
public double[] getP()
public void toBytes(water.AutoBuffer ab)
toBytes
in class AbstractCompressedNode