001package org.maltparser.parser.history.action; 002 003import org.maltparser.core.exception.MaltChainedException; 004import org.maltparser.parser.history.container.TableContainer; 005import org.maltparser.parser.history.container.TableContainer.RelationToNextDecision; 006import org.maltparser.parser.history.kbest.KBestList; 007/** 008* 009* @author Johan Hall 010* @since 1.1 011**/ 012public interface SingleDecision extends GuideDecision { 013 public void addDecision(int code) throws MaltChainedException; 014 public void addDecision(String symbol) throws MaltChainedException; 015 public int getDecisionCode() throws MaltChainedException; 016 public String getDecisionSymbol() throws MaltChainedException; 017 public int getDecisionCode(String symbol) throws MaltChainedException; 018 public KBestList getKBestList() throws MaltChainedException; 019 public boolean updateFromKBestList() throws MaltChainedException; 020 public boolean continueWithNextDecision() throws MaltChainedException; 021 public TableContainer getTableContainer(); 022 public RelationToNextDecision getRelationToNextDecision(); 023}