public final class LeafNode extends AbstractTreeNode
| Modifier and Type | Method and Description |
|---|---|
byte |
getType() |
int |
predict(de.jungblut.math.DoubleVector features) |
void |
readFields(DataInput in) |
void |
transformToByteCode(org.objectweb.asm.MethodVisitor visitor,
org.objectweb.asm.Label returnLabel)
Transforms this node to byte code, given a visitor that already starts
containing the methods and a label that must be jumped to in case of a
return.
|
protected void |
writeInternal(DataOutput out)
serialize internal state.
|
read, writepublic int predict(de.jungblut.math.DoubleVector features)
predict in class AbstractTreeNodepublic void transformToByteCode(org.objectweb.asm.MethodVisitor visitor,
org.objectweb.asm.Label returnLabel)
AbstractTreeNodetransformToByteCode in class AbstractTreeNodepublic void readFields(DataInput in) throws IOException
IOExceptionprotected void writeInternal(DataOutput out) throws IOException
AbstractTreeNodewriteInternal in class AbstractTreeNodeIOExceptionpublic byte getType()
getType in class AbstractTreeNodeCopyright © 2016. All rights reserved.