public class MutableAGrammaticalStructure extends AGrammaticalStructure
BasicTree.BreadthFirstTreeNodes, BasicTree.DepthFirstPostOrderTreeNodes, BasicTree.DepthFirstPreOrderTreeNodes, BasicTree.TreeIterator<T extends BasicTree<T>>, BasicTree.TreeNodesByLevel
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
annotations, dependents, governors, head, score, value
Constructor and Description |
---|
MutableAGrammaticalStructure(java.lang.String value,
Token token,
double score)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setChildren(java.util.List<AGrammaticalStructure> children)
Set children
|
void |
setParent(AGrammaticalStructure parent)
Set parent
|
getAnnotations, getId, getILabel, getInComingNodes, getIndex, getLabel, getLemma, getNode, getOutGoingNodes, getScore, getToken, getValue, getWord, toString
depth, getChildren, getParent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren
private static final long serialVersionUID
public MutableAGrammaticalStructure(java.lang.String value, Token token, double score)
value
- valuetoken
- tokenscore
- scorepublic void setParent(AGrammaticalStructure parent)
parent
- parentpublic void setChildren(java.util.List<AGrammaticalStructure> children)
children
- children