Lines Matching defs:candidate
104 void consider (candidate_t candidate)
106 size_t candidate_len = candidate_traits::get_length (candidate);
108 /* Calculate a lower bound on the candidate's distance to the goal,
114 /* If the candidate's length is sufficiently different to that
117 the candidate immediately without needing to compute
122 /* If the candidate will be unable to beat the criterion in
129 /* Otherwise, compute the distance and see if the candidate
133 candidate_traits::get_string (candidate),
138 m_best_candidate = candidate;
158 to be meaningful, given a candidate of length CANDIDATE_LEN. */
165 /* Get the best candidate so far, but applying a filter to ensure
180 /* If the goal string somehow makes it into the candidate list, offering
184 candidate list, but as a band-aid, do not offer suggestions for
185 distance == 0 (where candidate == goal). */
192 /* Get the closest candidate so far, without applying any filtering. */