edu.umn.cs.nlp.mt.chiang2007
Class ChartCell

java.lang.Object
  extended by edu.umn.cs.nlp.mt.chiang2007.ChartCell
All Implemented Interfaces:
Iterable<ChartCellEntry>

public class ChartCell
extends Object
implements Iterable<ChartCellEntry>

Version:
$LastChangedDate: 2007-11-09 10:04:34 -0600 (Fri, 09 Nov 2007) $
Author:
Lane Schwartz

Constructor Summary
ChartCell(int spansFrom, int spansTo)
           
 
Method Summary
 RuleApplication add(TranslationRule rule, LanguageModel languageModel, ChartCellEntry... children)
           
 void addTerminal(String terminal)
           
 ChartCellEntry getSCellEntry()
           
 int getSpansFrom()
           
 int getSpansTo()
           
 ChartCellEntry getTerminalCellEntry()
           
 ChartCellEntry getXCellEntry()
           
 boolean hasSCellEntry()
           
 boolean isEmpty()
           
 Iterator<ChartCellEntry> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartCell

public ChartCell(int spansFrom,
                 int spansTo)
Method Detail

getSpansFrom

public int getSpansFrom()

getSpansTo

public int getSpansTo()

addTerminal

public void addTerminal(String terminal)

add

public RuleApplication add(TranslationRule rule,
                           LanguageModel languageModel,
                           ChartCellEntry... children)

getTerminalCellEntry

public ChartCellEntry getTerminalCellEntry()

getXCellEntry

public ChartCellEntry getXCellEntry()

getSCellEntry

public ChartCellEntry getSCellEntry()

hasSCellEntry

public boolean hasSCellEntry()

isEmpty

public boolean isEmpty()

iterator

public Iterator<ChartCellEntry> iterator()
Specified by:
iterator in interface Iterable<ChartCellEntry>