Home | History | Annotate | Download | only in src

Lines Matching refs:index0

339         const std::vector<int> *const sampledInputYs, const int index0, const int index1) {
342 if (index0 < 0 || index0 > sampledInputSize - 1) {
348 const int x1 = (*sampledInputXs)[index0];
349 const int y1 = (*sampledInputYs)[index0];
623 const int index0, const int index1, const int index2) {
628 if (index0 < 0 || index0 > sampledInputSize - 1) {
637 const float previousDirection = getDirection(sampledInputXs, sampledInputYs, index0, index1);
942 // Decreases char probabilities of index0 by checking probabilities of a near point (index1) and
943 // increases char probabilities of index1 by checking probabilities of index0.
946 const int index0, const int index1,
948 ASSERT(0 <= index0 && index0 < sampledInputSize);
951 const float diff = fabsf(static_cast<float>((*lengthCache)[index0] - (*lengthCache)[index1]));
958 for (hash_map_compat<int, float>::iterator it = (*charProbabilities)[index0].begin();
959 it != (*charProbabilities)[index0].end(); ++it) {
965 // mCharProbabilities[index0][NOT_AN_INDEX] is the probability of skipping this point.
966 (*charProbabilities)[index0][NOT_AN_INDEX] += suppression;