Lines Matching refs:altDesc
295 static void GetNextAlternative (picokfst_FST fst, picotrns_AltDesc altDesc, in GetNextAlternative() argument
309 switch (altDesc->altState) { in GetNextAlternative()
311 if (altDesc->inPos < inSeqLen) { in GetNextAlternative()
312 inSym = inSeq[altDesc->inPos].sym; in GetNextAlternative()
318 (*outRefPos) = inSeq[altDesc->inPos].pos; in GetNextAlternative()
319 (*endFSTState) = altDesc->startFSTState; in GetNextAlternative()
320 (*nextInPos) = altDesc->inPos + 1; in GetNextAlternative()
321 altDesc->altState = 2; in GetNextAlternative()
324 … picokfst_kfstStartPairSearch(fst,inSeq[altDesc->inPos].sym,& inSymFound,& altDesc->searchState); in GetNextAlternative()
326 altDesc->altState = 2; in GetNextAlternative()
329 PICOTRNS_PRINTSYM(NULL, inSeq[altDesc->inPos].sym); in GetNextAlternative()
333 altDesc->altState = 1; in GetNextAlternative()
337 altDesc->altState = 2; in GetNextAlternative()
341 … picokfst_kfstGetNextPair(fst,& altDesc->searchState,& pairFound,& (*outSym),& pairClass); in GetNextAlternative()
343 picokfst_kfstGetTrans(fst,altDesc->startFSTState,pairClass,& (*endFSTState)); in GetNextAlternative()
346 (*outRefPos) = inSeq[altDesc->inPos].pos; in GetNextAlternative()
347 (*nextInPos) = altDesc->inPos + 1; in GetNextAlternative()
351 altDesc->altState = 2; in GetNextAlternative()
355 …picokfst_kfstStartInEpsTransSearch(fst,altDesc->startFSTState,& inEpsTransFound,& altDesc->searchS… in GetNextAlternative()
357 altDesc->altState = 3; in GetNextAlternative()
359 altDesc->altState = 4; in GetNextAlternative()
363 …picokfst_kfstGetNextInEpsTrans(fst,& altDesc->searchState,& inEpsTransFound,& (*outSym),& (*endFST… in GetNextAlternative()
367 (*nextInPos) = altDesc->inPos; in GetNextAlternative()
369 altDesc->altState = 4; in GetNextAlternative()
375 …} while (! ((*found) || (altDesc->altState == 4)) ); /* i.e., until (*found) || (altState == 4) */ in GetNextAlternative()
384 picotrns_altDesc_t altDesc[], picoos_uint16 pathLen, in NoteSolution() argument
394 ap = &altDesc[i]; in NoteSolution()
457 picotrns_altDesc_t altDesc[], picoos_uint16 maxAltDescLen, in TransductionStep() argument
480 … NoteSolution(& (*transductionState).nrSol,printSolution,altDesc,0,outSeq,outSeqLen,maxOutSeqLen); in TransductionStep()
485 ap = & altDesc[0]; in TransductionStep()
500 …GetNextAlternative(fst,& altDesc[tmpRecPos],inSeq,inSeqLen,& outSym,& outRefPos,& endFSTState,& ne… in TransductionStep()
503 ap = & altDesc[tmpRecPos]; in TransductionStep()
509 NoteSolution(& (*transductionState).nrSol,printSolution,altDesc,tmpRecPos+1, in TransductionStep()
519 ap = & altDesc[tmpRecPos]; in TransductionStep()