Lines Matching refs:prediction

44  * We begin with ATN simulation to build paths in a DFA. Subsequent prediction
52 * prediction. One DFA works in all contexts. We avoid using context not
55 * created during prediction beginning in the decision rule. For example, if
56 * prediction occurs without invoking another rule's ATN, there are no context
94 * full context prediction, which would lead us to requiring more input than the
95 * original A B C. To make a prediction cache work, we have to track the exact
96 * input used during the previous prediction. That amounts to a cache that maps
266 * Each prediction operation uses a cache for merge of prediction contexts.
395 $dfa->s0->configs = $s0_closure; // not used for prediction but useful to know start configs anyway
416 $this->mergeCache = null; // wack cache after each prediction
581 return $D->prediction;
683 $D->prediction = $predictedAlt;
699 $D->prediction = $conflictingAlts->minValue();
710 $D->prediction = ATN::INVALID_ALT_NUMBER;
735 $dfaState->prediction = ATN::INVALID_ALT_NUMBER; // make sure we use preds
745 $dfaState->prediction = $altsToCollectPredsFrom->minValue();
813 // unique prediction?
858 * when doing full context prediction.
1114 * predicates evaluated when we reach conflict state (or unique prediction).
1116 * conflict leads to full LL evaluation and nonlinear prediction which
1174 * 1+2+3 at the first +, we see prediction filtering.
1209 * same ATN state with the same prediction context. This transformation is
1221 * The prediction context must be considered by this filter to address
1232 * `statement`. The prediction context associated with each of these
1285 * filter the prediction context for alternatives predicting alt>1
1396 * {@see NoViableAltException} in particular prediction scenarios where the
1429 * at the instant before prediction commences.
1490 * prediction, which is where predicates need to evaluate.
1854 * rule. Note that when making a prediction starting at that
1860 * How do we know this always gives same prediction answer?
2447 int $prediction,
2470 $prediction,