org.maltparser.parser.history.action
Class ComplexDecisionAction
java.lang.Object
   org.maltparser.parser.history.action.ComplexDecisionAction
org.maltparser.parser.history.action.ComplexDecisionAction
- All Implemented Interfaces: 
- ActionDecision, GuideDecision, GuideUserAction, MultipleDecision
- public class ComplexDecisionAction 
- extends Object- implements GuideUserAction, MultipleDecision
- Since:
- 1.1
- Author:
- Johan Hall
 
 
 
 
history
protected History history
decisions
protected ArrayList<SimpleDecisionAction> decisions
ComplexDecisionAction
public ComplexDecisionAction(History history)
                      throws MaltChainedException
- Throws:
- MaltChainedException
ComplexDecisionAction
public ComplexDecisionAction(GuideHistory history)
                      throws MaltChainedException
- Throws:
- MaltChainedException
addAction
public void addAction(ArrayList<ActionContainer> actionContainers)
               throws MaltChainedException
- 
- Specified by:
- addActionin interface- GuideUserAction
 
- 
- Throws:
- MaltChainedException
 
getAction
public void getAction(ArrayList<ActionContainer> actionContainers)
               throws MaltChainedException
- 
- Specified by:
- getActionin interface- GuideUserAction
 
- 
- Throws:
- MaltChainedException
 
addAction
public void addAction(ActionContainer[] actionContainers)
               throws MaltChainedException
- 
- Specified by:
- addActionin interface- GuideUserAction
 
- 
- Throws:
- MaltChainedException
 
getAction
public void getAction(ActionContainer[] actionContainers)
               throws MaltChainedException
- 
- Specified by:
- getActionin interface- GuideUserAction
 
- 
- Throws:
- MaltChainedException
 
getKBestLists
public void getKBestLists(ArrayList<ScoredKBestList> kbestListContainers)
                   throws MaltChainedException
- 
- Specified by:
- getKBestListsin interface- GuideUserAction
 
- 
- Throws:
- MaltChainedException
 
getKBestLists
public void getKBestLists(ScoredKBestList[] kbestListContainers)
                   throws MaltChainedException
- 
- Specified by:
- getKBestListsin interface- GuideUserAction
 
- 
- Throws:
- MaltChainedException
 
numberOfActions
public int numberOfActions()
- 
- Specified by:
- numberOfActionsin interface- GuideUserAction
 
- 
 
getGuideUserHistory
public GuideUserHistory getGuideUserHistory()
- 
- Specified by:
- getGuideUserHistoryin interface- GuideUserAction
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- ActionDecision
 
- 
 
getSingleDecision
public SingleDecision getSingleDecision(int decisionIndex)
                                 throws MaltChainedException
- 
- Specified by:
- getSingleDecisionin interface- MultipleDecision
 
- 
- Throws:
- MaltChainedException
 
numberOfDecisions
public int numberOfDecisions()
- 
- Specified by:
- numberOfDecisionsin interface- GuideDecision
 
- 
 
getGuideHistory
public GuideHistory getGuideHistory()
- 
- Specified by:
- getGuideHistoryin interface- GuideDecision
 
- 
 
initDecisions
protected void initDecisions()
                      throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
setHistory
protected void setHistory(History history)
- 
 
- 
 
equals
public boolean equals(Object obj)
- 
- Overrides:
- equalsin class- Object
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.