internal FirstBranchState(PhoneLoop phoneLoop) : base(phoneLoop) { ArrayList arrayList = new ArrayList(); Iterator contextIndependentUnitIterator = PhoneLoop.access_200(phoneLoop).getContextIndependentUnitIterator(); while (contextIndependentUnitIterator.hasNext()) { Unit unit = (Unit)contextIndependentUnitIterator.next(); if (!unit.isFiller()) { PhoneLoop.OogHMM oogHMM = new PhoneLoop.OogHMM(phoneLoop, unit); arrayList.add(oogHMM); } } this.successors = (SearchStateArc[])arrayList.toArray(new SearchStateArc[arrayList.size()]); }
internal OogHMM(PhoneLoop phoneLoop, Unit u) : base(phoneLoop) { this.hmm = PhoneLoop.access_200(phoneLoop).lookupNearestHMM(u, HMMPosition.__UNDEFINED, false); this.successors = new SearchStateArc[1]; this.successors[0] = new PhoneLoop.OogHMMState(phoneLoop, this.hmm.getInitialState(), 0f); }