Uses of Class
com.amalgamasimulation.core.piecewise.PiecewiseFunction
Packages that use PiecewiseFunction
Package
Description
-
Uses of PiecewiseFunction in com.amalgamasimulation.core.piecewise
Methods in com.amalgamasimulation.core.piecewise that return PiecewiseFunctionModifier and TypeMethodDescriptionPiecewiseFunction.addRate(double fromArgument, double rateDelta) Adds a rate change to this piecewise linear function, starting from the specified argument.Adds a rate change to the piecewise linear function within the specified interval.PiecewiseFunction.addStepChange(double argument, double valueStep) Adds a step change to the piecewise linear function.PiecewiseFunction.addStepChange(Interval withinArgumentInterval, double valueStep) Adds a step change to the piecewise linear function within the specified interval.PiecewiseFunction.antiderivative(double argumentIntegrationStep) Calculates an antiderivative of this piecewise linear function performing a stepwise integration of segments with non-zero rates.PiecewiseFunction.copy()Creates a new instance of thisPiecewiseFunctionthat is a copy of this function, and returns this instance.PiecewiseFunction.derivative()Calculates a derivative of this piecewise linear function with corresponding step changes at break points.PiecewiseFunction.discretized(double step, PiecewiseFunction.InterpolationType interpolationType) Returns a discretized version of thisPiecewiseFunctionusing a fixed discretization step.PiecewiseFunction.max(PiecewiseFunction other) Computes the maximum of this function and another piecewise function.PiecewiseFunction.min(PiecewiseFunction other) Computes the minimum of this function and another piecewise function.PiecewiseFunction.minus(PiecewiseFunction other) Subtracts the points of another piecewise function from this function.PiecewiseFunction.multiply(double factor) Multiplies the values of this piecewise function by the specified factor.PiecewiseFunction.plus(PiecewiseFunction other) Adds the points of another piecewise function to this function.PiecewiseFunction.setValueAt(double argument, double value) Sets the value of this piecewise function at the specified argument.PiecewiseFunction.shiftArgument(double argumentShift) Shifts the function along the argument (X) axis by the specified amount.PiecewiseFunction.shiftValue(double valueShift) Shifts the function along the value (Y) axis by the specified amount.PiecewiseFunction.subFunction(IntervalLike withinArgumentInterval) Computes and returns a new instance ofPiecewiseFunctionwhich is a sub-function of this function, i.e.Methods in com.amalgamasimulation.core.piecewise with parameters of type PiecewiseFunctionModifier and TypeMethodDescriptionPiecewiseFunction.max(PiecewiseFunction other) Computes the maximum of this function and another piecewise function.PiecewiseFunction.min(PiecewiseFunction other) Computes the minimum of this function and another piecewise function.PiecewiseFunction.minus(PiecewiseFunction other) Subtracts the points of another piecewise function from this function.PiecewiseFunction.plus(PiecewiseFunction other) Adds the points of another piecewise function to this function. -
Uses of PiecewiseFunction in com.amalgamasimulation.discreterate.flowstatistic
Methods in com.amalgamasimulation.discreterate.flowstatistic that return PiecewiseFunctionModifier and TypeMethodDescriptionFlowProfile.flowElementProfile(T element) Returns thePiecewiseFunctionassociated with a given flow element.FlowProfile.getSummaryFunction()Returns thePiecewiseFunctionassociated with the summary linear function of all the elements. -
Uses of PiecewiseFunction in com.amalgamasimulation.studies.result
Methods in com.amalgamasimulation.studies.result that return PiecewiseFunctionModifier and TypeMethodDescriptionResultElement.getFunctionOrDefault(ResultPath path, PiecewiseFunction defaultValue) Gets a piecewise function by path or returns a default value if not found or not a function value.ResultElement.getFunctionOrThrow(ResultPath path) Gets a piecewise function by path or throws an exception if not found or not a function value.ResultPiecewiseFunctionValue.value()Gets thePiecewiseFunctionvalue of this element.Methods in com.amalgamasimulation.studies.result with parameters of type PiecewiseFunctionModifier and TypeMethodDescriptionResultElement.element(PiecewiseFunction value) Creates and adds a new piecewise function value element.ResultElement.element(String id, PiecewiseFunction value) Creates and adds a new piecewise function value element with specified ID and value.ResultElement.getFunctionOrDefault(ResultPath path, PiecewiseFunction defaultValue) Gets a piecewise function by path or returns a default value if not found or not a function value.Constructors in com.amalgamasimulation.studies.result with parameters of type PiecewiseFunctionModifierConstructorDescriptionConstructs a new ResultPiecewiseFunctionValue with the specified piecewise function. -
Uses of PiecewiseFunction in com.amalgamasimulation.visualsets
Fields in com.amalgamasimulation.visualsets with type parameters of type PiecewiseFunctionModifier and TypeFieldDescriptionprotected Supplier<PiecewiseFunction> GanttPiecewisePolylineVisualSet.piecewiseFunctionExtractorprotected Supplier<PiecewiseFunction> PiecewisePolylineVisualSet.piecewiseFunctionExtractorMethods in com.amalgamasimulation.visualsets that return PiecewiseFunctionModifier and TypeMethodDescriptionGanttPiecewisePolylineVisualSet.getPiecewiseFunction()IPiecewiseVisualSet.getPiecewiseFunction()Returns data elements list provider.PiecewisePolylineVisualSet.getPiecewiseFunction()Method parameters in com.amalgamasimulation.visualsets with type arguments of type PiecewiseFunctionModifier and TypeMethodDescriptionVisualSets.ganttPiecewisePolyline(String name, GanttChartRow ganttChartRow, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a GanttPiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.VisualSets.ganttPiecewisePolyline(String name, GanttChartRow ganttChartRow, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Double> currentArgumentExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a GanttPiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.VisualSets.ganttPiecewisePolyline(String name, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a GanttPiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.VisualSets.ganttPiecewisePolyline(String name, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Double> currentArgumentExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a GanttPiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.static PiecewisePolylineVisualSetVisualSets.piecewisePolyline(String name, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a PiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.static PiecewisePolylineVisualSetVisualSets.piecewisePolyline(String name, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Double> currentArgumentExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a PiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.GanttPiecewisePolylineVisualSet.setPiecewiseFunctionExtractor(Supplier<PiecewiseFunction> piecewiseFunctionExtractor) IPiecewiseVisualSet.setPiecewiseFunctionExtractor(Supplier<PiecewiseFunction> piecewiseFunctionExtractor) Sets data elements list provider.PiecewisePolylineVisualSet.setPiecewiseFunctionExtractor(Supplier<PiecewiseFunction> piecewiseFunctionExtractor) Constructor parameters in com.amalgamasimulation.visualsets with type arguments of type PiecewiseFunctionModifierConstructorDescriptionGanttPiecewisePolylineVisualSet(String name, GanttChartRow ganttChartRow, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a GanttPiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.GanttPiecewisePolylineVisualSet(String name, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a GanttPiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.PiecewisePolylineVisualSet(String name, Supplier<PiecewiseFunction> piecewiseFunctionExtractor, Supplier<Pair<Double, Double>> displayedRangeExtractor, Supplier<Double> axisLengthInPixelsExtractor) Constructs a PiecewiseLineVisualSet with given name, piecewiseFunction extractor and discretization rule extractors.