package edu.vt.marian.search; import java.util.*; import java.io.*; import edu.vt.marian.common.*; /** * SetCollectionSequencers are Sequencers that are built up component set by component set. Each set is added individually, presumably before the Enumeration is begun.
Originally several addSet() methods were provided to facilitate adding
componenet sets with relative weights. After the addition of the
ScaledWtdObjSet, this complication became unnecessary and was dropped.
*
* @author Robert France
* @see Sequencer
* @see java.util.Enumeration
*/
public interface SetCollectionSequencer extends Sequencer
{
/**
* Add a new component set to the Sequencer.
*
* @param set a component weighted object set.
* @return ReturnValues.OK -- set was added without problems.
*
anything else -- problems.
*/
public int addSet(WtdObjSet set);
}