*
*/
public Viterbi(Relation segs, ClusterUnitDatabase db) {
ViterbiPoint last = null;
clunitDB = db;
f = new FeatureSetImpl();
for (Item s = segs.getHead(); true; s = s.getNext()) {
ViterbiPoint n = new ViterbiPoint(s);
// The number of ViterbiPaths associated with each ViterbiPoint
// is determined using the variable numStates.
// TODO: Where can numStates be set?