setWeights(Reference2DoubleMap<Index> index2Weight) Copies the argument internally, rescaling weights so they sum up to one.
Parameters: index2Weight - the new map from indices to weights.
Computes a score by calling
AbstractWeightedScorer.score(Index) for
each index in the current index map, and summing the weighted results.
the combined weighted score.
setWeights
public synchronized boolean setWeights(Reference2DoubleMap<Index> index2Weight)(Code)
Copies the argument internally, rescaling weights so they sum up to one.
Parameters: index2Weight - the new map from indices to weights. true.