Searched refs:new_center (Results 1 – 3 of 3) sorted by relevance
197 const int new_center = (dist_accum[n] + accum[n] / 2) / accum[n]; in AssignSegments() local198 displaced += abs(centers[n] - new_center); in AssignSegments()199 centers[n] = new_center; in AssignSegments()200 weighted_average += new_center * accum[n]; in AssignSegments()
916 new_center = 'is'918 new_center = 'is not'922 self.source[line_index] = ' '.join([left, new_center, right])