Class WeightedValues<T>
java.lang.Object
microsim.dev.statistics.WeightedValues<T>
A bundle of values and their weights.
-
Constructor Summary
ConstructorsConstructorDescriptionWeightedValues(List<? extends T> values, List<Double> weights) Associatevalueswithweights. -
Method Summary
-
Constructor Details
-
WeightedValues
Associatevalueswithweights.- Throws:
IllegalArgumentException- Ifvaluesandweightshave different lengths.
-
-
Method Details
-
values
-
weights
-