public abstract class ParentNode<T extends Node> extends Node
Constructor and Description |
---|
ParentNode() |
ParentNode(double score) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addSources(double weight,
Map<Source,SourceNode> sources)
Adds the sources at (and beneath) this node to the given
sparsely represented source vector, weighted by the score of this node
times the given weight from the parent path
|
List<T> |
children()
This returns the children of this node in the intent tree.
|
compareTo, getScore, increaseScore, setScore
public List<T> children()
void addSources(double weight, Map<Source,SourceNode> sources)
Node
addSources
in class Node
Copyright © 2018. All rights reserved.