Lines Matching refs:weight
288 int weight) { in Initialize() argument
294 weight_ = weight; in Initialize()
346 weightcount += pattern_array[i].weight[0]; in Initialize()
348 pattern_array[i].weight[0]); in Initialize()
349 weightcount += pattern_array[i].weight[1]; in Initialize()
351 pattern_array[i].weight[1]); in Initialize()
352 weightcount += pattern_array[i].weight[2]; in Initialize()
354 pattern_array[i].weight[2]); in Initialize()
355 weightcount += pattern_array[i].weight[3]; in Initialize()
357 pattern_array[i].weight[3]); in Initialize()
360 weightcount += pattern_array[i].weight[0]; in Initialize()
362 pattern_array[i].weight[0]); in Initialize()
363 weightcount += pattern_array[i].weight[1]; in Initialize()
365 pattern_array[i].weight[1]); in Initialize()
366 weightcount += pattern_array[i].weight[2]; in Initialize()
368 pattern_array[i].weight[2]); in Initialize()
369 weightcount += pattern_array[i].weight[3]; in Initialize()
371 pattern_array[i].weight[3]); in Initialize()
412 sum += patterns_[i].weight(); in GetRandomPattern()