public static class DecisionNode.ByteDecisionNode extends DecisionNode
DecisionNode.BinaryByteDecisionNode, DecisionNode.BinaryFloatDecisionNode, DecisionNode.BinaryShortDecisionNode, DecisionNode.ByteDecisionNode, DecisionNode.ShortDecisionNode, DecisionNode.Typedaughters, feature, featureDefinition, featureIndex, lastDaughter, nData, TRACE, uniqueDecisionNodeId| Constructor and Description |
|---|
DecisionNode.ByteDecisionNode(int featureIndex,
int numDaughters,
FeatureDefinition featureDefinition)
Build a new byte decision node
|
DecisionNode.ByteDecisionNode(String feature,
int numDaughters,
FeatureDefinition featureDefinition)
Build a new byte decision node
|
| Modifier and Type | Method and Description |
|---|---|
DecisionNode.Type |
getDecisionNodeType()
Get the decision node type
|
String |
getDecisionPath(int daughterIndex)
Get the path leading to the daughter with the given index.
|
Node |
getNextNode(FeatureVector featureVector)
Select a daughter node according to the value in the given target
|
String |
getNodeDefinition()
Gets the String that defines the decision done in the node
|
addDaughter, countData, fillData, getAllData, getDaughter, getFeatureDefinition, getFeatureIndex, getFeatureName, getNumberOfData, getNumberOfDaugthers, getNumberOfNodes, getUniqueDecisionNodeId, hasMoreDaughters, isDecisionNode, replaceDaughter, setUniqueDecisionNodeId, toStringgetDecisionPath, getMother, getNodeIndex, getRootNode, isDirectedGraphNode, isLeafNode, isRoot, setIsRoot, setMother, toStringpublic DecisionNode.ByteDecisionNode(String feature, int numDaughters, FeatureDefinition featureDefinition)
feature - the feature namenumDaughters - the number of daughtersfeatureDefinition - featureDefinitionpublic DecisionNode.ByteDecisionNode(int featureIndex,
int numDaughters,
FeatureDefinition featureDefinition)
featureIndex - the feature indexnumDaughters - the number of daughtersfeatureDefinition - featureDefinitionpublic Node getNextNode(FeatureVector featureVector)
getNextNode in class DecisionNodefeatureVector - the feature vectorpublic String getDecisionPath(int daughterIndex)
DecisionNodegetDecisionPath in class DecisionNodedaughterIndex - daughterIndexpublic String getNodeDefinition()
getNodeDefinition in class DecisionNodepublic DecisionNode.Type getDecisionNodeType()
DecisionNodegetDecisionNodeType in class DecisionNodeCopyright © 2000–2016 DFKI GmbH. All rights reserved.