Package com.yahoo.search.intent.model
Class ParentNode<T extends Node>
- java.lang.Object
-
- com.yahoo.search.intent.model.Node
-
- com.yahoo.search.intent.model.ParentNode<T>
-
- All Implemented Interfaces:
java.lang.Comparable<Node>
- Direct Known Subclasses:
IntentModel
,IntentNode
,InterpretationNode
public abstract class ParentNode<T extends Node> extends Node
A node which is not a leaf in the intent tree- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description ParentNode()
ParentNode(double score)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>
children()
This returns the children of this node in the intent tree.
-
-
-
Method Detail
-
children
public java.util.List<T> children()
This returns the children of this node in the intent tree. This is never null. Children can be added and removed from this list to modify this node.
-
-