public class TreeNode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TreeNode.ScoreDistributions |
Constructor and Description |
---|
TreeNode(String correlationId,
String context,
String id,
String parent,
List children,
int recordCount,
Map counts,
Map confidence,
String defaultChld) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List |
getChildren() |
Map |
getConfidence() |
String |
getContext() |
Map |
getCounts() |
String |
getDefaultChld() |
String |
getId() |
String |
getParent() |
int |
getRecordCount() |
ScoreDistributionInfo |
getWeightedConfidenceWinner(List<TreeNode> childNodes) |
int |
hashCode() |
void |
setChildren(List children) |
void |
setConfidence(Map confidence) |
void |
setContext(String context) |
void |
setCounts(Map counts) |
void |
setDefaultChld(String defaultChld) |
void |
setId(String id) |
void |
setParent(String parent) |
void |
setRecordCount(int recordCount) |
String |
toString() |
public String getContext()
public void setContext(String context)
public String getId()
public void setId(String id)
public String getParent()
public void setParent(String parent)
public List getChildren()
public void setChildren(List children)
public int getRecordCount()
public void setRecordCount(int recordCount)
public Map getCounts()
public void setCounts(Map counts)
public Map getConfidence()
public void setConfidence(Map confidence)
public String getDefaultChld()
public void setDefaultChld(String defaultChld)
public ScoreDistributionInfo getWeightedConfidenceWinner(List<TreeNode> childNodes)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.