Uses of Class
com.amalgamasimulation.core.intervals.Interval
Packages that use Interval
Package
Description
-
Uses of Interval in com.amalgamasimulation.core.intervals
Fields in com.amalgamasimulation.core.intervals declared as IntervalModifier and TypeFieldDescriptionstatic final IntervalInterval.EMPTYEmpty number interval that represents a non-existent interval.static final IntervalInterval.UNIVERSEUniverse number interval, i.e.Methods in com.amalgamasimulation.core.intervals that return IntervalModifier and TypeMethodDescriptionstatic IntervalInterval.of(double value) Creates a new instance ofIntervalwhich is zero-length and contains only the specified point.static IntervalInterval.of(double min, double max) Creates a new instance ofIntervalwith the specified minimal and maximal bounds.Interval.shift(double shift) Creates a new instance ofIntervalwhich equals to this interval shifted by the specified value.Methods in com.amalgamasimulation.core.intervals that return types with arguments of type IntervalModifier and TypeMethodDescriptionIntervalSet.firstInterval()Returns anOptionalcontaining the first (leftmost) interval of this set, orOptional.empty()if this set is empty.IntervalSet.intervals()Returns an unmodifiable list of intervals contained in this interval set.IntervalSet.iterator()IntervalSet.lastInterval()Returns anOptionalcontaining the last (rightmost) interval of this set, orOptional.empty()if this set is empty.Methods in com.amalgamasimulation.core.intervals with parameters of type IntervalModifier and TypeMethodDescriptionstatic IntervalSetCreates and returns a new instance ofIntervalSetthat contains the specified intervals.Method parameters in com.amalgamasimulation.core.intervals with type arguments of type IntervalModifier and TypeMethodDescriptionIntervalSet.withIntervalsMatching(Predicate<Interval> predicate) Returns a newIntervalSetinstance containing only those intervals that match the specified predicate condition.IntervalSet.withoutIntervalsMatching(Predicate<Interval> predicate) Returns a newIntervalSetinstance excluding the intervals that match the specified predicate condition.Constructors in com.amalgamasimulation.core.intervals with parameters of type IntervalModifierConstructorDescriptionIntervalSet(Interval interval) Creates a new instance ofIntervalSetcontaining a single specified interval.Constructor parameters in com.amalgamasimulation.core.intervals with type arguments of type IntervalModifierConstructorDescriptionIntervalSet(List<? extends Interval> intervals) Creates a new instance ofIntervalSetcontaining intervals in the specified list. -
Uses of Interval in com.amalgamasimulation.core.piecewise
Methods in com.amalgamasimulation.core.piecewise that return IntervalModifier and TypeMethodDescriptionPiecewiseFunction.FunctionSegment.argumentInterval()Returns the value of theargumentIntervalrecord component.PiecewiseFunction.finiteArgumentsInterval()Returns the interval spanning all finite meaningful break points of this function.Methods in com.amalgamasimulation.core.piecewise with parameters of type IntervalModifier and TypeMethodDescriptiondoublePiecewiseFunction.absoluteIntegral(Interval withinArgumentInterval) Calculates the absolute integral of the piecewise linear function over the the specified argument interval.Adds a rate change to the piecewise linear function within the specified interval.PiecewiseFunction.addStepChange(Interval withinArgumentInterval, double valueStep) Adds a step change to the piecewise linear function within the specified interval.PiecewiseFunction.breakPoints(Interval withinArgumentInterval) Returns a list of break points in the piecewise function within a specified argument interval.doubleCalculates the integral of the piecewise linear function over the specified argument interval.PiecewiseFunction.intervalsWithRateLessThan(Interval withinArgumentInterval, double rateLessThan) Finds and returns anIntervalSetinstance describing the sorted set of intervals where this piecewise function's change rate is less than the specified threshold, within the specified argument interval.PiecewiseFunction.intervalsWithRateMoreThan(Interval withinArgumentInterval, double rateMoreThan) Finds and returns anIntervalSetinstance describing the sorted set of intervals where this piecewise function's change rate is greater than the specified threshold, within the specified argument interval.PiecewiseFunction.intervalsWithValueLessEqualThan(Interval withinArgumentInterval, double valueLessEqualThan) Finds and returns anIntervalSetinstance describing the sorted set of intervals where this piecewise function's value is less than or equal to the specified threshold.PiecewiseFunction.intervalsWithValueLessThan(Interval withinArgumentInterval, double valueLessThan) Finds and returns anIntervalSetinstance describing the sorted set of intervals where this piecewise function's value is less than the specified threshold.PiecewiseFunction.intervalsWithValueMoreEqualThan(Interval withinArgumentInterval, double valueMoreEqualThan) Finds and returns anIntervalSetinstance describing the sorted set of intervals where this piecewise function's value is greater than or equal to the specified threshold.PiecewiseFunction.intervalsWithValueMoreThan(Interval withinArgumentInterval, double valueMoreThan) Finds and returns anIntervalSetinstance describing the sorted set of intervals where this piecewise function's value is greater than the specified threshold.doubleFinds the maximum value of this piecewise linear function within the specified interval.doubleFinds the minimum value of this piecewise linear function within the specified interval.doublePiecewiseFunction.negativeStepChangesSum(Interval withinArgumentInterval) Calculates the sum of all absolute values of negative step changes in this piecewise linear function within the specified argument interval.PiecewiseFunction.plotPoints(Interval withinArgumentInterval) Returns a list of points of a linear 2d-plot plot of this function within the specified argument interval.doublePiecewiseFunction.positiveIntegral(Interval withinArgumentInterval) Calculates the integral of the positive part of the piecewise linear function over the specified argument interval.doublePiecewiseFunction.positiveStepChangesSum(Interval withinArgumentInterval) Calculates the sum of all positive step changes in this piecewise linear function within the specified argument interval.PiecewiseFunction.segmentsIterator(Interval argumentInterval) Returns an iterator over thePiecewiseFunction.FunctionSegmentinstances within the specified argument interval.PiecewiseFunction.segmentsStream(Interval argumentInterval) Returns a stream ofPiecewiseFunction.FunctionSegmentinstances within the specified argument interval.Constructors in com.amalgamasimulation.core.piecewise with parameters of type IntervalModifierConstructorDescriptionFunctionSegment(Interval argumentInterval, double beforeBeginValue, double beginValue, double endValue, double rate) Creates an instance of aFunctionSegmentrecord class. -
Uses of Interval in com.amalgamasimulation.core.scheduling
Subclasses of Interval in com.amalgamasimulation.core.schedulingModifier and TypeClassDescriptionclassClass representing a (possibly infinite) gap between at most two slots in aSequence.classClass representing a (possibly infinite) slot in statistical data or schedule for some object being planned and/or simulated.classClass representing an interval on a time axis.Methods in com.amalgamasimulation.core.scheduling that return IntervalModifier and TypeMethodDescriptionIntervalSetsOverlaysIterator.IntervalSetsOverlay.interval()Returns the value of theintervalrecord component.AndTimeIntervalsIterator.next()AndTimeIntervalsIteratorReversed.next()Methods in com.amalgamasimulation.core.scheduling that return types with arguments of type IntervalModifier and TypeMethodDescriptionIntervalPlanner.backwardIntervalsIterator(int withValueMoreEqualThan, TimeInterval intersectingWithTimeInterval) Returns anIteratorthat iterates through the intervals where the value is equal to or greater than the specified value that have non-zero intersection with the specified interval.IntervalPlanner.forwardIntervalsIterator(int withValueMoreEqualThan, Interval intersectingWithTimeInterval) Returns anIteratorthat iterates through the intervals where the value is equal to or greater than the specified value that have non-zero intersection with the specified interval.IntervalPlanner.getIntervals(int withValueMoreEqualThan) Returns theSortedListof intervals where the value is equal to or greater than the specified value.IntervalPlanner.getIntervalsBeginningAfter(double beginningAtOrAfterTime, int withValueMoreEqualThan) Returns a list of intervals beginning at or after the specified time where the value is equal to or greater than the specified value.IntervalPlanner.getIntervalsBeginningBefore(double beginningStrictlyBeforeTime, int withValueMoreEqualThan) Returns a list of intervals beginning before the specified time where the value is equal to or greater than the specified value.IntervalPlanner.getIntervalsBetween(double beginTime, double endTime, int withValueMoreEqualThan) Returns a list of intervals inside the specified interval where the value is equal to or greater than the specified value.Methods in com.amalgamasimulation.core.scheduling with parameters of type IntervalModifier and TypeMethodDescriptionvoidIntervalPlanner.addInterval(Interval interval, int value) Adds the specified value to the specified interval.Sequence.allSlotsIntersecting(Interval interval) Returns a list of all slots that have non-zero length intersection with the specified interval.IntervalPlanner.forwardIntervalsIterator(int withValueMoreEqualThan, Interval intersectingWithTimeInterval) Returns anIteratorthat iterates through the intervals where the value is equal to or greater than the specified value that have non-zero intersection with the specified interval.voidIntervalSetsOverlaysIterator.insertBoundaryPoints(Interval interval) Constructors in com.amalgamasimulation.core.scheduling with parameters of type IntervalModifierConstructorDescriptionIntervalSetsOverlay(Interval interval, List<T> values) Creates an instance of aIntervalSetsOverlayrecord class.Constructor parameters in com.amalgamasimulation.core.scheduling with type arguments of type IntervalModifierConstructorDescriptionAndTimeIntervalsIterator(List<Iterator<? extends Interval>> iterators) Creates an instance of the forward iterator over the intersection time intervals, one from each iterator in the list of iterators provided.AndTimeIntervalsIteratorReversed(List<ListIterator<? extends Interval>> iterators) Creates an instance of the reverse iterator over the intersection time intervals, one from each iterator in the list of iterators provided.IntervalPlanner(List<? extends Interval> intervals, int value) Creates a new instance ofIntervalPlannerand adds the specified value to each of the specified intervals. -
Uses of Interval in com.amalgamasimulation.core.statistics
Classes in com.amalgamasimulation.core.statistics with type parameters of type IntervalModifier and TypeClassDescriptionclassIntervalStatistics<I extends Interval,K> A class for collecting and analyzing statistics over intervals.Methods in com.amalgamasimulation.core.statistics that return IntervalModifier and TypeMethodDescriptionDistributionComparison.baselineConfidenceInterval()Returns the 95% confidence interval for the baseline.DistributionStatistics.confidenceInterval(double percent) Returns the confidence interval for the sample mean at the given confidence level.DistributionStatistics.confidenceInterval95()Returns the 95% confidence interval for the sample mean using Student’s t-distribution.DistributionStatistics.range()Returns the range as anIntervalfromDistributionStatistics.min()toDistributionStatistics.max(), orEMPTYif no values have been addedDistributionComparison.subjectConfidenceInterval()Returns the 95% confidence interval for the subject. -
Uses of Interval in com.amalgamasimulation.discreterate.flowstatistic
Methods in com.amalgamasimulation.discreterate.flowstatistic with parameters of type IntervalModifier and TypeMethodDescriptionvoidFlowProfile.addRate(Interval withinArgumentInterval, Accumulator<T> flowRates) Adds flow rates for elements within the specified interval.voidFlowProfile.addStepChange(Interval argumentInterval, Accumulator<T> flowStepChanges) Adds step changes for the specified argument interval andAccumulatorof flow step changes.FlowStatistics.inflowWithin(Interval interval) Calculates the incoming flow of the tracked flow elements within the specified timeInterval.doubleFlowStatistics.inflowWithin(T element, Interval interval) Calculates the incoming flow for a specified element within the given 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.doubleFlowStatistics.outflowWithin(T element, Interval interval) Calculates the outgoing flow for a specified element within the given timeInterval.doubleFlowProfile.summaryIntegral(Interval withinArgumentInterval) Calculates the integral of the summary piecewise linear function over the specified argument interval. -
Uses of Interval in com.amalgamasimulation.geometry.geometry3d
Methods in com.amalgamasimulation.geometry.geometry3d that return IntervalModifier and TypeMethodDescriptionPolylineWithZProfile.getXRange()Returns the range of x-coordinates covered by this polyline as an interval.PolylineWithZProfile.getYRange()Returns the range of y-coordinates covered by this polyline as an interval.PolylineWithZProfile.getZRange()Returns the range of z-coordinates (elevations) covered by this polyline as an interval. -
Uses of Interval in com.amalgamasimulation.graphagent
Methods in com.amalgamasimulation.graphagent that return IntervalModifier and TypeMethodDescriptionGeometricGraphArcRecord.arcAbsOffsets()Returns the value of thearcAbsOffsetsrecord component.GeometricGraphArcRecord.pathAbsOffsets()Returns the value of thepathAbsOffsetsrecord component.Methods in com.amalgamasimulation.graphagent with parameters of type IntervalModifier and TypeMethodDescriptionGeometricGraphPath.getSubPath(Interval absOffsets) Returns a new instance ofGeometricGraphPath()that is a sub-path of this path between the absolute offsets specified by theIntervalinstance.Constructors in com.amalgamasimulation.graphagent with parameters of type IntervalModifierConstructorDescriptionGeometricGraphArcRecord(int arcIndex, Graph<N, A>.Arc arc, Interval arcAbsOffsets, Interval pathAbsOffsets, GeometricGraphPosition<N, A> beginPosition, GeometricGraphPosition<N, A> endPosition) Creates an instance of aGeometricGraphArcRecordrecord class. -
Uses of Interval in com.amalgamasimulation.trains
Subclasses of Interval in com.amalgamasimulation.trainsModifier and TypeClassDescriptionclassRepresents a time interval booked by a specific booker.Methods in com.amalgamasimulation.trains that return types with arguments of type IntervalModifier and TypeMethodDescriptionTrain.tryMoveTo(TrainsEnvironment.TrainDirection movementStartTrainDirection, List<RailDestination> railDestinations, boolean considerBookedTracks, boolean considerTrainsPredicate, double velocity) Attempts to move the train to one of the specified rail destinations along the best available route.Train.tryMoveTo(TrainsEnvironment.TrainDirection movementStartTrainDirection, List<RailDestination> railDestinations, double velocity) Attempts to move the train to one of the specified rail destinations along the best available route.Train.tryMoveTo(TrainsEnvironment.TrainDirection movementStartTrainDirection, List<RailDestination> railDestinations, BiPredicate<RailTrack, Object> considerBookedTracks, Predicate<Train> considerTrainsPredicate, List<RailNode> visitNodes, Set<RailArc> prohibitedArcs, double beginTime, double velocity) Attempts to move the train to one of the specified rail destinations along the best available route. -
Uses of Interval in com.amalgamasimulation.visualsets
Classes in com.amalgamasimulation.visualsets with type parameters of type IntervalMethods in com.amalgamasimulation.visualsets with type parameters of type IntervalModifier and TypeMethodDescriptionstatic <E extends Interval>
SlotsVisualSet<E> VisualSets.gantt(String name, GanttChartRow row, Supplier<List<E>> slotsSupplier) static <E extends Interval>
SlotsVisualSet<E> VisualSets.gantt(String name, GanttChartRow row, List<E> slots) static <E extends Interval>
SlotsVisualSet<E> static <E extends Interval>
SlotsVisualSet<E> static <E extends Interval>
RegionVisualSet<E> Creates an instance ofRegionVisualSetthat highlights X-axis regions corresponding to time intervals contained in the provided supplier of a list.Methods in com.amalgamasimulation.visualsets that return IntervalModifier and TypeMethodDescriptionBoxAndWhiskerVisualSet.BoxAndWhiskerVisualElement.getBoxInterval()BoxAndWhiskerVisualSet.BoxAndWhiskerVisualElement.getWhiskerInterval()Method parameters in com.amalgamasimulation.visualsets with type arguments of type IntervalModifier and TypeMethodDescriptionBoxAndWhiskerVisualSet.setBoxInterval(Function<T, Interval> boxIntervalExtractor) BoxAndWhiskerVisualSet.setWhiskerInterval(Function<T, Interval> whiskerIntervalExtractor)