edu.vt.marian.search
Interface SetCollectionSequencer

All Known Implementing Classes:
MergeSequencer, PriQueueSequencer

public abstract interface SetCollectionSequencer
extends Sequencer

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.

See Also:
Sequencer, Enumeration

Method Summary
 int addSet(WtdObjSet set)
          Add a new component set to the Sequencer.
 
Methods inherited from interface edu.vt.marian.search.Sequencer
expectedNumElts, maxNumElts, profile, toString
 
Methods inherited from interface java.util.Enumeration
hasMoreElements, nextElement
 

Method Detail

addSet

public int addSet(WtdObjSet set)
Add a new component set to the Sequencer.
Parameters:
set - a component weighted object set.
Returns:
ReturnValues.OK -- set was added without problems.
anything else -- problems.