Lines Matching refs:candidate
133 def add_candidate(self, candidate):
134 self.candidates.append(candidate)
204 for candidate in pas:
205 yield (block, pas, candidate)
240 for candidate in pas:
241 errorval = candidate.refinement_errors[-1]
245 best_candidate = candidate
247 # Every other return type must have both best pass and best candidate
305 for candidate in get_node(pas, "candidate", True):
307 failed = get_attrib(candidate, "failed", False, False)
311 wx = get_attrib(candidate, "weight_x")
312 wy = get_attrib(candidate, "weight_y")
313 wz = get_attrib(candidate, "weight_z")
314 wq = QUANT_TABLE[get_attrib(candidate, "weight_quant")]
315 epre = get_attrib(candidate, "error_prerealign", True, False)
316 epst = get_attrib(candidate, "error_postrealign", True, False)
341 for j, candidate in rev_enumerate(pas):
342 if candidate != best_candidate:
490 for block, pas, candidate in foreach_candidate(data):
492 if not candidate:
496 start_error = candidate.refinement_errors[0]
497 end_error = candidate.refinement_errors[-1]
499 rpf = float(start_error - end_error) / float(len(candidate.refinement_errors))
510 for refinement in candidate.refinement_errors: