public static class LeafNode.IntArrayLeafNode extends LeafNode
LeafNode.FeatureVectorLeafNode, LeafNode.FloatLeafNode, LeafNode.IntAndFloatArrayLeafNode, LeafNode.IntArrayLeafNode, LeafNode.LeafType, LeafNode.PdfLeafNode, LeafNode.StringAndFloatLeafNode
Modifier and Type | Field and Description |
---|---|
protected int[] |
data |
uniqueLeafId
Constructor and Description |
---|
LeafNode.IntArrayLeafNode(int[] data) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillData(Object target,
int pos,
int len)
Write this node's data into the target object at pos, making sure that exactly len data are written.
|
Object |
getAllData()
Get all data in this leaf
|
int[] |
getIntData() |
LeafNode.LeafType |
getLeafNodeType()
The type of this leaf node.
|
int |
getNumberOfData()
Count all the data available at and below this node.
|
boolean |
isEmpty()
Indicate whether the leaf node has no meaningful data.
|
String |
toString() |
getNumberOfNodes, getUniqueLeafId, isLeafNode, setUniqueLeafId
getDecisionPath, getMother, getNodeIndex, getRootNode, isDecisionNode, isDirectedGraphNode, isRoot, setIsRoot, setMother, toString
public Object getAllData()
getAllData
in class LeafNode
public int[] getIntData()
protected void fillData(Object target, int pos, int len)
LeafNode
public int getNumberOfData()
LeafNode
getNumberOfData
in class LeafNode
public boolean isEmpty()
LeafNode
public LeafNode.LeafType getLeafNodeType()
LeafNode
getLeafNodeType
in class LeafNode
Copyright © 2000–2016 DFKI GmbH. All rights reserved.