LeafNode.FeatureVectorLeafNode, LeafNode.FloatLeafNode, LeafNode.IntAndFloatArrayLeafNode, LeafNode.IntArrayLeafNode, LeafNode.LeafType, LeafNode.PdfLeafNode, LeafNode.StringAndFloatLeafNodeuniqueLeafId| Constructor and Description |
|---|
LeafNode.PdfLeafNode(int idx,
double[][] pdf) |
| 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 the data at or below this node.
|
int |
getDataLength() |
LeafNode.LeafType |
getLeafNodeType()
The type of this leaf node.
|
double[] |
getMean() |
int |
getNumberOfData()
Count all the data available at and below this node.
|
double[] |
getVariance() |
int |
getVectorSize() |
double |
getVoicedWeight() |
boolean |
isEmpty()
Indicate whether the leaf node has no meaningful data.
|
String |
toString() |
getNumberOfNodes, getUniqueLeafId, isLeafNode, setUniqueLeafIdgetDecisionPath, getMother, getNodeIndex, getRootNode, isDecisionNode, isDirectedGraphNode, isRoot, setIsRoot, setMother, toStringpublic LeafNode.PdfLeafNode(int idx,
double[][] pdf)
throws MaryConfigurationException
idx - , a unique index numberpdf - , pdf[numStreams][2*vectorSize]MaryConfigurationException - MaryConfigurationExceptionpublic int getDataLength()
public double[] getMean()
public double[] getVariance()
public double getVoicedWeight()
public int getVectorSize()
protected void fillData(Object target, int pos, int len)
LeafNodepublic Object getAllData()
LeafNodegetAllData in class LeafNodepublic int getNumberOfData()
LeafNodegetNumberOfData in class LeafNodepublic boolean isEmpty()
LeafNodepublic LeafNode.LeafType getLeafNodeType()
LeafNodegetLeafNodeType in class LeafNodeCopyright © 2000–2016 DFKI GmbH. All rights reserved.