Uses of Class
microsim.dev.statistics.WeightedValues
Packages that use WeightedValues
-
Uses of WeightedValues in microsim.dev.statistics
Classes in microsim.dev.statistics that implement interfaces with type arguments of type WeightedValuesModifier and TypeClassDescriptionclassWeightedCrossSection<A,T> A weighted cross section is a collection of values; each of them representing the status of a given variable of an element of a collection of agents, along with the weight associated with each agent.Methods in microsim.dev.statistics that return WeightedValuesMethods in microsim.dev.statistics that return types with arguments of type WeightedValuesModifier and TypeMethodDescriptionWeightedCrossSection.once()Wrap theWeightedCrossSectionin aOncecache.WeightedCrossSection.oncePerSimTime(SimulationEngine engine) Wrap theWeightedCrossSectionin aOnceUntilcache that checks when the simulation time changes.Method parameters in microsim.dev.statistics with type arguments of type WeightedValuesModifier and TypeMethodDescriptionstatic Supplier<WeightedStats> WeightedStats.supplier(Supplier<? extends WeightedValues<? extends Number>> supplier) Convenience method to work with theSupplierAPI.Constructors in microsim.dev.statistics with parameters of type WeightedValuesModifierConstructorDescriptionWeightedStats(WeightedValues<? extends Number> wvals) Build aStatsobject for the given list of weighted values. -
Uses of WeightedValues in microsim.gui.plot
Method parameters in microsim.gui.plot with type arguments of type WeightedValuesModifier and TypeMethodDescriptionvoidWeighted_HistogramSimulationPlotter.addSource(String label, Supplier<? extends WeightedValues<? extends Number>> source) Add a source of weighted values.voidWeighted_PyramidPlotter.setLeft(Supplier<? extends WeightedValues<? extends Number>> values) Set the source of weighted values for the left side.voidWeighted_PyramidPlotter.setRight(Supplier<? extends WeightedValues<? extends Number>> values) Set the source of weighted values for the right side.