Uses of Class
com.amalgamasimulation.utils.container.Accumulator
Packages that use Accumulator
Package
Description
-
Uses of Accumulator in com.amalgamasimulation.core.statistics
Methods in com.amalgamasimulation.core.statistics that return AccumulatorModifier and TypeMethodDescriptionIntervalStatistics.totalLengthByKeys()Returns the total length of intervals by keys. -
Uses of Accumulator in com.amalgamasimulation.desktop.ui.columndescriptors
Fields in com.amalgamasimulation.desktop.ui.columndescriptors with type parameters of type AccumulatorModifier and TypeFieldDescriptionprotected BiFunction<T, V, Accumulator<Color>> Column.backgroundColorExtractorMethods in com.amalgamasimulation.desktop.ui.columndescriptors that return types with arguments of type AccumulatorModifier and TypeMethodDescriptionColumn.getBackgroundColor()IColumn.getBackgroundColor()Returns a function to get the color for the backgroundMethod parameters in com.amalgamasimulation.desktop.ui.columndescriptors with type arguments of type AccumulatorModifier and TypeMethodDescriptionColumn.backgroundColor(BiFunction<T, V, Accumulator<Color>> colorExtractor) IColumn.backgroundColor(BiFunction<T, V, Accumulator<Color>> colorExtractor) Set function to get the color for the background -
Uses of Accumulator in com.amalgamasimulation.desktop.ui.studies
Methods in com.amalgamasimulation.desktop.ui.studies that return AccumulatorModifier and TypeMethodDescriptionprotected Accumulator<Color> StudyPart.resultBackgroundColor(DistributionStatistics distributionStatistics, ResultPath resultPath) -
Uses of Accumulator in com.amalgamasimulation.desktop.ui.views
Methods in com.amalgamasimulation.desktop.ui.views with parameters of type AccumulatorModifier and TypeMethodDescriptionViewerColumnDescriptor.setBackground(Accumulator<Color> background) Deprecated.Method parameters in com.amalgamasimulation.desktop.ui.views with type arguments of type AccumulatorModifier and TypeMethodDescriptionViewerColumnDescriptor.setBackgroundExtractor(BiFunction<T, E, Accumulator<Color>> background) Deprecated.ViewerColumnDescriptor.setBackgroundExtractor(Function<T, Accumulator<Color>> background) Deprecated. -
Uses of Accumulator in com.amalgamasimulation.discreterate
Methods in com.amalgamasimulation.discreterate that return AccumulatorModifier and TypeMethodDescriptionBunker.getAnimationContentsDescriptor()Returns all materials contained inside this flow element as an instance ofAccumulator.Returns all materials contained inside this flow element as an instance ofAccumulator.Bunker.getContentsDescriptor()Conveyor.getContentsDescriptor()abstract Accumulator<T> FlowElement.getContentsDescriptor()Returns all materials contained inside this flow element as an instance ofAccumulator.Merge.getContentsDescriptor()Returns amounts of materials contained inside this flow element as anAccumulatorinstance.ReversibleConveyor.getContentsDescriptor()Split.getContentsDescriptor()Returns the current stock contained inside this flow element as anAccumulatorinstance.Tank.getContentsDescriptor()Valve.getContentsDescriptor()Returns the material currently contained inside this flow element asAccumulatorinstance.FlowConnection.getFlowProportions()Returns the current material proportions of the material flow of this flow connection.Bunker.getInflowRateDescriptor()Conveyor.getInflowRateDescriptor()abstract Accumulator<T> FlowElement.getInflowRateDescriptor()Returns anAccumulatorinstance that describes the flow rate at the input of this flow element.Merge.getInflowRateDescriptor()Merge.getInflowRateDescriptor(FlowConnection<T> inflowConnection) Returns an Accumulator instance that describes the material flow rate at the specified input connection.ReversibleConveyor.getInflowRateDescriptor()Split.getInflowRateDescriptor()Tank.getInflowRateDescriptor()Valve.getInflowRateDescriptor()Split.getInflowRateProportions()Returns anAccumulatorinstance that contains rate proportions of materials in the material inflow of this flow element.Bunker.getOutflowRateDescriptor()Conveyor.getOutflowRateDescriptor()abstract Accumulator<T> FlowElement.getOutflowRateDescriptor()Returns anAccumulatorinstance that describes the flow rate at the output of this flow element.Merge.getOutflowRateDescriptor()ReversibleConveyor.getOutflowRateDescriptor()Split.getOutflowRateDescriptor()Split.getOutflowRateDescriptor(FlowConnection<T> outflowConnection) Returns an Accumulator instance that describes the flow rate of material at the specified outflow connection.Tank.getOutflowRateDescriptor()Valve.getOutflowRateDescriptor()Bunker.getOutflowRateProportions(FlowConnection<T> flowConnection) Conveyor.getOutflowRateProportions(FlowConnection<T> outflowConnection) abstract Accumulator<T> FlowElement.getOutflowRateProportions(FlowConnection<T> outflowConnection) Returns anAccumulatorinstance that contains flow rate proportions of materials exported through theoutflowConnectionoutflow connection.Merge.getOutflowRateProportions(FlowConnection<T> outflowConnection) ReversibleConveyor.getOutflowRateProportions(FlowConnection<T> outflowConnection) Split.getOutflowRateProportions(FlowConnection<T> outflowConnection) Tank.getOutflowRateProportions(FlowConnection<T> outflowConnection) Valve.getOutflowRateProportions(FlowConnection<T> flowConnection) FlowConnection.getPassedMaterialsDescriptor()Returns anAccumulatorthat contains the quantities of each material that has passed through the connection.ConveyorRateRecord.getProportions()Returns theAccumulatorwith material proportions of the material mix portion described by thisConveyorRateRecord.Tank.Layer.getProportions()Returns anAccumulatorthat describes the proportions of material amounts inside thisLayer.MaterialFragmentDescriptor.getStock()Returns the total amount of materials described by thisMaterialFragmentDescriptor.Bunker.getTotalInflowDescriptor()Conveyor.getTotalInflowDescriptor()abstract Accumulator<T> FlowElement.getTotalInflowDescriptor()Returns anAccumulatorinstance that contains the total quantity of each material that has entered this flow element.Merge.getTotalInflowDescriptor()ReversibleConveyor.getTotalInflowDescriptor()Split.getTotalInflowDescriptor()Tank.getTotalInflowDescriptor()Valve.getTotalInflowDescriptor()Bunker.getTotalOutflowDescriptor()Conveyor.getTotalOutflowDescriptor()abstract Accumulator<T> FlowElement.getTotalOutflowDescriptor()Returns anAccumulatorinstance that holds the total amounts of each material that has left this flow element.Merge.getTotalOutflowDescriptor()ReversibleConveyor.getTotalOutflowDescriptor()Split.getTotalOutflowDescriptor()Tank.getTotalOutflowDescriptor()Valve.getTotalOutflowDescriptor()Methods in com.amalgamasimulation.discreterate that return types with arguments of type AccumulatorModifier and TypeMethodDescriptionBunker.getInflowMaterialsSupplier()Returns the current supplier function that provides the material proportions of the input flow.Bunker.getInflowMaterialsSupplier()Returns the current supplier function that provides the material proportions of the input flow.Methods in com.amalgamasimulation.discreterate with parameters of type AccumulatorModifier and TypeMethodDescriptionvoidBunker.addContents(Accumulator<T> addedContents) Adds the contents of theaddedContentsAccumulatorto this flow element.voidTank.addContents(Accumulator<T> addedContents) Adds the contents of theaddedContentsAccumulatorto this Tank.voidBunker.replaceContents(Accumulator<T> newContents) Replaces the contents of this flow element with thenewContentsAccumulator.voidTank.replaceContents(Accumulator<T> newContents) Replaces the contents of this Tank with thenewContentsAccumulator.Method parameters in com.amalgamasimulation.discreterate with type arguments of type AccumulatorModifier and TypeMethodDescriptionvoidBunker.replaceContents(List<Accumulator<T>> listOfLayers) Removes all materials from this Bunker and sets its internal layers of materials to thelistOfLayers.voidTank.replaceContents(List<Accumulator<T>> listOfLayers) Removes all materials from this Tank and sets its internal layers of materials to thelistOfLayers.voidBunker.setInflowMaterialsSupplier(Function<Accumulator<T>, Accumulator<T>> outflowRateProportionsSupplier) Sets the supplier of the material proportions of the input flow.voidBunker.setInflowMaterialsSupplier(Function<Accumulator<T>, Accumulator<T>> outflowRateProportionsSupplier) Sets the supplier of the material proportions of the input flow.voidValve.setOutflowMaterialsSupplier(Function<Accumulator<T>, Accumulator<T>> outflowRateProportionsSupplier) Sets the supplier of the material proportions of the outflowConnection.voidValve.setOutflowMaterialsSupplier(Function<Accumulator<T>, Accumulator<T>> outflowRateProportionsSupplier) Sets the supplier of the material proportions of the outflowConnection.voidSplit.setOutflowRateProportionsSupplier(Function<FlowConnection<T>, Accumulator<T>> outflowRateProportionsSupplier) Sets the supplier of the rate proportions ofoutflowConnection's actual flow rate in the overall outflow rate of this Split.Constructors in com.amalgamasimulation.discreterate with parameters of type AccumulatorModifierConstructorDescriptionMaterialFragmentDescriptor(double beginOffset, double endOffset, Accumulator<T> stock) Creates a newMaterialFragmentDescriptorinstance. -
Uses of Accumulator in com.amalgamasimulation.discreterate.flowstatistic
Methods in com.amalgamasimulation.discreterate.flowstatistic that return AccumulatorModifier and TypeMethodDescriptionFlowStatistics.inflowWithin(Interval interval) Calculates the incoming flow of the tracked flow elements within the specified timeInterval.Calculates the integral of all flow profiles over a specified interval and returns the accumulated results.FlowStatistics.outflowWithin(Interval interval) Calculates the outgoing flow of the tracked flow elements within the specified timeInterval.FlowProfile.rateAt(double argument) Returns the flow rate for all element at the specified argument.FlowProfile.valueAt(double argument) Returns the flow values for all elements at the specified argument.Methods in com.amalgamasimulation.discreterate.flowstatistic with parameters of type AccumulatorModifier and TypeMethodDescriptionvoidFlowProfile.addRate(double fromArgument, Accumulator<T> flowRates) Adds flow rates for elements starting from the specified argument and continuing indefinitely.voidFlowProfile.addRate(Interval withinArgumentInterval, Accumulator<T> flowRates) Adds flow rates for elements within the specified interval.voidFlowProfile.addStepChange(double argument, Accumulator<T> flowStepChanges) Adds a step change based on the provided argument andAccumulatorof flow step changes.voidFlowProfile.addStepChange(Interval argumentInterval, Accumulator<T> flowStepChanges) Adds step changes for the specified argument interval andAccumulatorof flow step changes.voidFlowProfile.setRate(double startingAtArgument, Accumulator<T> flowRates) Sets new flow rates for the elements starting from the specified argument. -
Uses of Accumulator in com.amalgamasimulation.resources
Methods in com.amalgamasimulation.resources that return AccumulatorModifier and TypeMethodDescriptionResourceSet.getNeededResourcesByType()ResourceManager.getRequirementTime()ResourceManager.getResourcesCountByTypes() -
Uses of Accumulator in com.amalgamasimulation.utils
Fields in com.amalgamasimulation.utils with type parameters of type AccumulatorModifier and TypeFieldDescriptionprotected Map<O, Accumulator<C>> HistogramDataAggregator.biggestArgumentObjectsMapprotected Map<O, Accumulator<C>> HistogramDataAggregator.smallestArgumentObjectsMapMethods in com.amalgamasimulation.utils with parameters of type Accumulator -
Uses of Accumulator in com.amalgamasimulation.utils.container
Methods in com.amalgamasimulation.utils.container that return AccumulatorModifier and TypeMethodDescriptionAccumulator.getCopy()Creates a copy of the current accumulator.Accumulator.getDifference(Accumulator<T> otherAccumulator) Returns a new Accumulator containing the difference between the current Accumulator and the specified accumulator.Accumulator.getMultiplied(double factor) Returns a new instance of accumulator that is equal to the current accumulator with all values multiplied by the specified factor.Accumulator.getNormalized()Returns a new Accumulator that contains the ratio of each value to the total sum of values in this Accumulator.Accumulator.getSum(Accumulator<T> otherAccumulator) Returns a new instance of accumulator that is sum of the current accumulator and the specified accumulator.static <T> Accumulator<T> Creates a newAccumulatorinstance and initializes its contents by values passed as pairs parameter.static <T> Accumulator<T> Accumulator.of(T cat1, double v1) Returns a new Accumulator containing a single mapping.static <T> Accumulator<T> Accumulator.of(T cat1, double v1, T cat2, double v2) Returns a new Accumulator containing two mappings.static <T> Accumulator<T> Accumulator.of(T cat1, double v1, T cat2, double v2, T cat3, double v3) Returns a new Accumulator containing three mappings.Methods in com.amalgamasimulation.utils.container with parameters of type AccumulatorModifier and TypeMethodDescriptionvoidAccumulator.add(Accumulator<T> otherAccumulator) Adds the specified accumulator to the current accumulator.Accumulator.getDifference(Accumulator<T> otherAccumulator) Returns a new Accumulator containing the difference between the current Accumulator and the specified accumulator.Accumulator.getSum(Accumulator<T> otherAccumulator) Returns a new instance of accumulator that is sum of the current accumulator and the specified accumulator.voidAccumulator.remove(Accumulator<T> otherAccumulator) Decrements the values stored in this Accumulator by the respective amounts from theotherAccumulator.