Class ParentNode<T extends Node>

java.lang.Object
com.yahoo.search.intent.model.Node
com.yahoo.search.intent.model.ParentNode<T>
All Implemented Interfaces:
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 Details

    • ParentNode

      public ParentNode()
    • ParentNode

      public ParentNode(double score)
  • Method Details

    • children

      public 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.