org.maltparser.parser.history
Class HistoryTreeNode
java.lang.Object
   org.maltparser.parser.history.HistoryTreeNode
org.maltparser.parser.history.HistoryTreeNode
- All Implemented Interfaces: 
- HistoryNode
- public class HistoryTreeNode 
- extends Object- implements HistoryNode
- Author:
- Johan Hall
 
 
 
HistoryTreeNode
public HistoryTreeNode(HistoryNode previousNode,
                       GuideUserAction action)
getAction
public GuideUserAction getAction()
- 
- Specified by:
- getActionin interface- HistoryNode
 
- 
 
setAction
public void setAction(GuideUserAction action)
- 
- Specified by:
- setActionin interface- HistoryNode
 
- 
 
getPreviousNode
public HistoryNode getPreviousNode()
- 
- Specified by:
- getPreviousNodein interface- HistoryNode
 
- 
 
setPreviousNode
public void setPreviousNode(HistoryNode node)
- 
- Specified by:
- setPreviousNodein interface- HistoryNode
 
- 
 
getDepth
public int getDepth()
- 
 
- 
 
setDepth
public void setDepth(int depth)
- 
 
- 
 
addChild
public void addChild(HistoryTreeNode child)
- 
 
- 
 
removeChild
public void removeChild(HistoryTreeNode child)
- 
 
- 
 
getChild
public HistoryTreeNode getChild(ActionDecision childDecision)
- 
 
- 
 
getPosition
public int getPosition()
- 
- Specified by:
- getPositionin interface- HistoryNode
 
- 
 
clear
public void clear()
           throws MaltChainedException
- 
- Specified by:
- clearin interface- HistoryNode
 
- 
- Throws:
- MaltChainedException
 
equals
public boolean equals(Object obj)
- 
- Overrides:
- equalsin class- Object
 
- 
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- Object
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.