Uses of Class
com.amalgamasimulation.utils.Pair
Packages that use Pair
Package
Description
-
Uses of Pair in com.amalgamasimulation.charts.axes
Methods in com.amalgamasimulation.charts.axes that return PairModifier and TypeMethodDescriptionBarChartCategoryXAxis.getDisplayedRange()BarChartNumericYAxis.getDisplayedRange()GanttChartNumericXAxis.getDisplayedRange()GanttChartTimeXAxis.getDisplayedRange()IGetDisplayedRangePropertyOwner.getDisplayedRange()Returns the currently displayed values range of axis.LineChartNumericXAxis.getDisplayedRange()LineChartNumericYAxis.getDisplayedRange()LineChartTimeXAxis.getDisplayedRange() -
Uses of Pair in com.amalgamasimulation.charts.environments
Methods in com.amalgamasimulation.charts.environments that return Pair -
Uses of Pair in com.amalgamasimulation.charts.environments.awt
Methods in com.amalgamasimulation.charts.environments.awt that return Pair -
Uses of Pair in com.amalgamasimulation.charts.swt
Methods in com.amalgamasimulation.charts.swt that return Pair -
Uses of Pair in com.amalgamasimulation.core.piecewise
Methods in com.amalgamasimulation.core.piecewise that return types with arguments of type PairModifier and TypeMethodDescriptionPiecewiseFunction.plotPoints()Returns a list of points of a linear 2d-plot of this function.PiecewiseFunction.plotPoints(Interval withinArgumentInterval) Returns a list of points of a linear 2d-plot plot of this function within the specified argument interval.Constructor parameters in com.amalgamasimulation.core.piecewise with type arguments of type PairModifierConstructorDescriptionPiecewiseFunction(List<Pair<Double, Double>> plotPoints) Creates a new piecewise function by its plot points. -
Uses of Pair in com.amalgamasimulation.core.scheduling
Methods in com.amalgamasimulation.core.scheduling that return types with arguments of type PairModifier and TypeMethodDescriptionRatePlanner.deficitPeriods()Deprecated.Returns the list of time intervals when there is deficit.IntervalPlanner.getArgumentsAndValues()Returns the data of this interval planner in the form of argument-value pairs list.RatePlanner.negativeQuantityChanges()Deprecated.Returns a list of all negative step changes of quantity.RatePlanner.overflowPeriods()Deprecated.Returns the list of time intervals when there is overflow.RatePlanner.periodsWithRateLessThan(double lessThanRate) Deprecated.Returns the list of time intervals when the rate is less than the specified value.RatePlanner.periodsWithRateMoreThan(double greaterThanRate) Deprecated.Returns the list of time intervals when the rate is greater than the specified value.RatePlanner.plotData()Deprecated.Returns a list of bend points of a linear plot of this rate planner.RatePlanner.plotData(double beginTime, double endTime) Deprecated.Returns a list of bend points of a linear plot of this rate planner in the specified time interval.RatePlanner.positiveQuantityChanges()Deprecated.Returns a list of all positive step changes of quantity. -
Uses of Pair in com.amalgamasimulation.core.statistics
Methods in com.amalgamasimulation.core.statistics that return types with arguments of type PairModifier and TypeMethodDescriptionList<Pair<K, IntervalSet>> IntervalStatistics.intervalSetsByKeys()Returns a list of pairs containing keys (e.g., interval classes) and their correspondingIntervalSetinstances. -
Uses of Pair in com.amalgamasimulation.discreterate
Method parameters in com.amalgamasimulation.discreterate with type arguments of type PairModifier and TypeMethodDescriptionConveyor.Builder.inputFlowWithRelativeOffset(List<Pair<FlowElement<T>, Double>> sourceFlowElementsByRelativeOffset) Connects thesourceFlowElement(as a source of material) to thisConveyor.ReversibleConveyor.Builder.inputFlowWithRelativeOffset(List<Pair<FlowElement<T>, Double>> sourceFlowElementsByRelativeOffset) Connects thesourceFlowElement(as a source of material) to thisReversibleConveyor. -
Uses of Pair in com.amalgamasimulation.emf.csv.partialload
Methods in com.amalgamasimulation.emf.csv.partialload that return Pair -
Uses of Pair in com.amalgamasimulation.emf.datastructure.sheets
Methods in com.amalgamasimulation.emf.datastructure.sheets that return Pair -
Uses of Pair in com.amalgamasimulation.engine
Fields in com.amalgamasimulation.engine with type parameters of type PairMethods in com.amalgamasimulation.engine that return types with arguments of type PairModifier and TypeMethodDescriptionStateMachine.outgoingTransitions(T fromState) Returns an unmodifiable list of all transitions starting at the specified state.Method parameters in com.amalgamasimulation.engine with type arguments of type PairModifier and TypeMethodDescriptionEngineEventContainer.addEvents(List<Pair<T, TimeSeries>> events) Constructor parameters in com.amalgamasimulation.engine with type arguments of type PairModifierConstructorDescriptionEngineEventContainer(Engine engine, int eventsOrder, List<Pair<T, TimeSeries>> events, List<Consumer<T>> handlers) Creates an instance of engine event container with the specified list of (Event, TimeSeries) pairs and the specified list of event handlers.EngineEventContainer(Engine engine, List<Pair<T, TimeSeries>> events, List<Consumer<T>> handlers) Creates an instance of engine event container with the specified list of (Event, TimeSeries) pairs and the specified list of event handlers. -
Uses of Pair in com.amalgamasimulation.geometry
Methods in com.amalgamasimulation.geometry that return PairModifier and TypeMethodDescriptionPolyline.getPointAndSegmentIndexByAbsoluteOffset(double absoluteOffset) Polyline.getPointAndSegmentIndexByAbsoluteOffset(double absoluteOffset, EpsilonComparator comparator) -
Uses of Pair in com.amalgamasimulation.graph
Methods in com.amalgamasimulation.graph that return PairModifier and TypeMethodDescriptionAlgorithm.getInsignificantNodesAndArcs(Graph<A, B> graph, Set<Graph<A, B>.Node> significantNodes) Returns the pair containing sets of insignificant nodes and arcs of the specified graph against the specified set of significant nodes.Algorithm.getInsignificantNodesAndArcs(Graph<A, B> graph, Set<Graph<A, B>.Node> significantNodes, Set<Graph<A, B>.Arc> barrierArcs) Returns the pair containing sets of insignificant nodes and arcs of the specified graph against the specified set of significant nodes.Algorithm.getMinPathWithContext(Graph<A, B> graph, Graph<A, B>.Node sourceNode, BiPredicate<Graph<A, B>.Node, T> searchSuccessPredicate, T sourceNodeContext, BiFunction<T, Graph<A, B>.Arc, T> contextProvider, Comparator<T> contextComparator) Returns a minimal-context path in the graph using a context-aware variant of Dijkstra’s algorithm.Methods in com.amalgamasimulation.graph that return types with arguments of type PairModifier and TypeMethodDescriptionAlgorithm.getClosestNodes(Graph<A, B> graph, Graph<A, B>.Node sourceNode, Predicate<Graph<A, B>.Node> destNodeIndicator, double range, Function<Graph<A, B>.Arc, Double> arcWeighter, Function<Graph<A, B>.Node, Double> nodeWeighter) Returns list of pairs of nodes and distances to them from the specified source node satisfying the condition determined by the specified indicator.Algorithm.getClosestNodes(Graph<A, B> graph, Graph<A, B>.Node sourceNode, Predicate<Graph<A, B>.Node> destNodeIndicator, double range, Function<Graph<A, B>.Arc, Double> arcWeighter, Function<Graph<A, B>.Node, Double> nodeWeighter, int maxNodesCount) Returns list of pairs of nodes and distances to them from the specified source node satisfying the condition determined by the specified indicator.Algorithm.getClosestNodes(Graph<A, B> graph, Graph<A, B>.Node sourceNode, Predicate<Graph<A, B>.Node> destNodeIndicator, double range, Function<Graph<A, B>.Arc, Double> arcWeighter, Function<Graph<A, B>.Node, Double> nodeWeighter, Map<Graph<A, B>.Node, Double> outNodeWeights, Set<Graph<A, B>.Arc> outArcsVisited) Returns list of pairs of nodes and distances to them from the specified source node satisfying the condition determined by the specified indicator.Algorithm.getClosestNodes(Graph<A, B> graph, Graph<A, B>.Node sourceNode, Predicate<Graph<A, B>.Node> destNodeIndicator, double range, Function<Graph<A, B>.Arc, Double> arcWeighter, Function<Graph<A, B>.Node, Double> nodeWeighter, Map<Graph<A, B>.Node, Double> outNodeWeights, Set<Graph<A, B>.Arc> outArcsVisited, int maxNodesCount) Returns list of pairs of nodes and distances to them from the specified source node satisfying the condition determined by the specified indicator. -
Uses of Pair in com.amalgamasimulation.graphagent
Fields in com.amalgamasimulation.graphagent with type parameters of type PairModifier and TypeFieldDescriptionGraphEnvironment.barrierArcsCacheGraphEnvironment.cachedMinTreesWithAgentsGraphEnvironment.cachedShortestPathsWithAgentsGraphEnvironment.cachedShortestPathsWithAgentsGraphEnvironment.cachedShortestPathsWithoutAgentsMethods in com.amalgamasimulation.graphagent that return PairModifier and TypeMethodDescriptionCreates two new graph arcs (one forward and one backward) between the nodes with the specified values.Methods in com.amalgamasimulation.graphagent that return types with arguments of type PairModifier and TypeMethodDescriptionLongAgentsEnvironment.getAgentsOverlay(GeometricGraphPath<N, A> expectedOverlayPath) GraphEnvironment.getClosestNodes(Graph<N, A>.Node sourceNode, Predicate<Graph<N, A>.Node> destNodeIndicator, double range) GraphEnvironment.getClosestNodes(Graph<N, A>.Node sourceNode, Predicate<Graph<N, A>.Node> destNodeIndicator, double range, int maxNodesCount) GraphEnvironment.getClosestNodes(Graph<N, A>.Node sourceNode, Predicate<Graph<N, A>.Node> destNodeIndicator, double range, GraphAgent<N, A> agent) Returns the nodes for which the specified predicate returnstruelocated within the specified range from the specified source node.GraphEnvironment.getClosestNodes(Graph<N, A>.Node sourceNode, Predicate<Graph<N, A>.Node> destNodeIndicator, double range, GraphAgent<N, A> agent, BiFunction<A, K, Double> arcWeighter, BiFunction<N, K, Double> nodeWeighter) GraphEnvironment.getClosestNodes(Graph<N, A>.Node sourceNode, Predicate<Graph<N, A>.Node> destNodeIndicator, double range, GraphAgent<N, A> agent, BiFunction<A, K, Double> arcWeighter, BiFunction<N, K, Double> nodeWeighter, int maxNodesCount) GraphEnvironment.getClosestNodes(Graph<N, A>.Node sourceNode, Predicate<Graph<N, A>.Node> destNodeIndicator, double range, GraphAgent<N, A> agent, Map<Graph<N, A>.Node, Double> outNodeWeights, Set<Graph<N, A>.Arc> outArcsVisited) GraphEnvironment.getClosestNodes(Graph<N, A>.Node sourceNode, Predicate<Graph<N, A>.Node> destNodeIndicator, double range, Map<Graph<N, A>.Node, Double> outNodeWeights, Set<Graph<N, A>.Arc> outArcsVisited) GraphEnvironment.getClosestNodes(GeometricGraphPosition<N, A> sourcePosition, Predicate<Graph<N, A>.Node> destNodeIndicator, double range) GraphEnvironment.getClosestNodes(GeometricGraphPosition<N, A> sourcePosition, Predicate<Graph<N, A>.Node> destNodeIndicator, double range, int maxNodesCount) GraphEnvironment.getDestsAndWeights(GeometricGraphPosition<N, A> destPosition, K weightKey) GraphEnvironment.getSourcesAndWeights(GeometricGraphPosition<N, A> sourcePosition, K weightKey) -
Uses of Pair in com.amalgamasimulation.graphicaleditor
Methods in com.amalgamasimulation.graphicaleditor with parameters of type PairModifier and TypeMethodDescription<N,A> HighlightDescriptor HighlightDescriptor.addHighlightedPath(Pair<List<N>, List<A>> path, javafx.scene.paint.Color color) -
Uses of Pair in com.amalgamasimulation.graphicaleditor.parts
Methods in com.amalgamasimulation.graphicaleditor.parts that return Pair -
Uses of Pair in com.amalgamasimulation.trains
Methods in com.amalgamasimulation.trains that return PairModifier and TypeMethodDescriptionTrainsEnvironment.calculateRouteOrBarrierArcs(GeometricGraphPosition<RailNode, RailArc> sourcePosition, GeometricGraphPosition<RailNode, RailArc> destPosition, Train train, boolean considerBookedTracks, boolean considerTrainsPredicate, Set<RailArc> prohibitedArcs, double beginTime, double velocity) Calculates a route and barriers arcs for the specifiedTrainfrom a source position to a destination position.TrainsEnvironment.calculateRouteOrBarrierArcs(GeometricGraphPosition<RailNode, RailArc> sourcePosition, GeometricGraphPosition<RailNode, RailArc> destPosition, Train train, boolean considerBookedTracks, boolean considerTrainsPredicate, Set<RailArc> prohibitedArcs, List<RailNode> visitNodes, double beginTime, double velocity) Calculates a route and barriers arcs for the specifiedTrainfrom a source position to a destination position.Train.split(int carsFromHead) Splits this train into two separate trains at the specified number of cars from the head.Train.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.Methods in com.amalgamasimulation.trains that return types with arguments of type Pair -
Uses of Pair in com.amalgamasimulation.utils
Methods in com.amalgamasimulation.utils that return PairModifier and TypeMethodDescriptionstatic <T1,T2> Pair <T1, T2> Pair.of(T1 first, T2 second) Creates and returns a new pair consisting of the specified elementsMethods in com.amalgamasimulation.utils that return types with arguments of type PairModifier and TypeMethodDescriptionAdaptiveTimeStatistics.cumulativePlotData()ITimeStatistics.cumulativePlotData()Returns the data for plotting the cumulative sum of the content of thisTimeStatisticsinstance on a line chart.SparseTimeStatistics.cumulativePlotData()TimeStatistics.cumulativePlotData()AdaptiveTimeStatistics.nonEmptyBucketsStream()ITimeStatistics.nonEmptyBucketsStream()SparseTimeStatistics.nonEmptyBucketsStream()TimeStatistics.nonEmptyBucketsStream()AdaptiveTimeStatistics.plotData()ITimeStatistics.plotData()Returns the data for plotting the content of thisITimeStatisticsinstance on a line chart.SparseTimeStatistics.plotData()TimeStatistics.plotData() -
Uses of Pair in com.amalgamasimulation.utils.container
Methods in com.amalgamasimulation.utils.container that return PairMethods in com.amalgamasimulation.utils.container that return types with arguments of type Pair -
Uses of Pair in com.amalgamasimulation.utils.tablefunction
Methods in com.amalgamasimulation.utils.tablefunction that return PairModifier and TypeMethodDescriptionArrayTableFunction.getAdjacentValues(double arg) Returns two values closest to argument, first is left-sided, second is right-sidedArrayTableFunctionFast.getAdjacentValues(double arg) Returns two values closest to argument, first is left-sided, second is right-sidedFloatIntervalTableFunction.getAdjacentValues(double arg) Returns two values closest to argument, first is left-sided, second is right-sidedIntervalTableFunction.getAdjacentValues(double arg) Returns two values closest to argument, first is left-sided, second is right-sidedMethods in com.amalgamasimulation.utils.tablefunction that return types with arguments of type PairModifier and TypeMethodDescriptionArrayTableFunction.getArgumentCumulativeValuePairs()Returns all cumulative argument-value pairsArrayTableFunctionFast.getArgumentCumulativeValuePairs()Returns all cumulative argument-value pairsFloatIntervalTableFunction.getArgumentCumulativeValuePairs()Returns all cumulative argument-value pairsIntervalTableFunction.getArgumentCumulativeValuePairs()Returns all cumulative argument-value pairsArrayTableFunction.getArgumentValuePairs()Returns all argument-value pairsArrayTableFunctionFast.getArgumentValuePairs()Returns all argument-value pairsConstantTableFunction.getArgumentValuePairs()FloatIntervalTableFunction.getArgumentValuePairs()Returns all argument-value pairsIntervalTableFunction.getArgumentValuePairs()Returns all argument-value pairsITableFunction.getArgumentValuePairs()Constructor parameters in com.amalgamasimulation.utils.tablefunction with type arguments of type PairModifierConstructorDescriptionArrayTableFunction(List<Pair<Double, Double>> argumentsAndValues, double step) Creates a new instance of interval table function with specified arguments and values.ArrayTableFunctionFast(List<Pair<Double, Double>> argumentsAndValues, double step) Creates a new instance of interval table function with specified arguments and values.FloatIntervalTableFunction(List<Pair<Double, Double>> argumentsAndValues) Creates a new instance of interval table function with specified arguments and values.IntervalTableFunction(List<Pair<Double, Double>> argumentsAndValues) Creates a new instance of interval table function with specified arguments and values. -
Uses of Pair in com.amalgamasimulation.utils.time
Methods in com.amalgamasimulation.utils.time that return types with arguments of type PairModifier and TypeMethodDescriptionList<Pair<T, TimeSeries>> EventContainer.getEvents()EventContainer.getEvents(double beginTime, double endTime) EventContainer.getEvents(double beginTime, double endTime, boolean beginTimeInclusive, boolean endTimeInclusive) EventContainer.getNextEvents(double time, boolean timeInclusive) EventContainer.getPreviousEvents(double time) Method parameters in com.amalgamasimulation.utils.time with type arguments of type PairConstructor parameters in com.amalgamasimulation.utils.time with type arguments of type Pair -
Uses of Pair in com.amalgamasimulation.visualsets
Fields in com.amalgamasimulation.visualsets with type parameters of type PairModifier and TypeFieldDescriptionRangeRegionVisualSet.clipboardTextExtractorGanttPiecewisePolylineVisualSet.displayedRangeExtractorPiecewisePolylineVisualSet.displayedRangeExtractorprotected Function<T, Pair<GanttChartRow, Double>> ConnectionVisualSet.sourceArgumentExtractorprotected Function<T, Pair<GanttChartRow, Double>> ConnectionVisualSet.targetArgumentExtractorMethods in com.amalgamasimulation.visualsets that return PairModifier and TypeMethodDescriptionGanttPiecewisePolylineVisualSet.getDisplayedRange()IPiecewiseVisualSet.getDisplayedRange()Returns a current displayed range on plot.PiecewisePolylineVisualSet.getDisplayedRange()Methods in com.amalgamasimulation.visualsets that return types with arguments of type PairModifier and TypeMethodDescriptionstatic LineVisualSet<Pair<Double, Double>> VisualSets.cumulativeLine(String name, ITimeStatistics timeStatistics) static GanttPolylineVisualSet<Pair<Double, Double>> VisualSets.ganttPolyline(String name, RatePlanner ratePlanner) static GanttPolylineVisualSet<Pair<Double, Double>> VisualSets.ganttPolyline(String name, GanttChartRow row, RatePlanner ratePlanner) static GanttPolylineVisualSet<Pair<Double, Double>> VisualSets.ganttPolyline(String name, GanttChartRow row, Color color, List<Pair<Double, Double>> list) static GanttPolylineVisualSet<Pair<Double, Double>> VisualSets.ganttPolyline(String name, GanttChartRow row, Supplier<List<Pair<Double, Double>>> list) static GanttPolylineVisualSet<Pair<Double, Double>> VisualSets.ganttPolyline(String name, GanttChartRow row, List<Pair<Double, Double>> list) static GanttPolylineVisualSet<Pair<Double, Double>> static GanttPolylineVisualSet<Pair<Double, Double>> IPiecewiseVisualSet.getDiscretizedDataElements()static LineVisualSet<Pair<Double, Double>> VisualSets.line(String name, ITimeStatistics timeStatistics) Creates an instance ofLineVisualSetwith the specified name from the providedITimeStatistics.static LineVisualSet<Pair<Double, Double>> VisualSets.line(String name, ITimeStatistics timeStatistics, boolean interpolateEmptyBuckets) Creates an instance ofLineVisualSetwith the specified name and interpolation rule for empty buckets, from the providedITimeStatistics.static LineVisualSet<Pair<Double, Double>> VisualSets.line(String name, ITableFunction tableFunction) Creates an instance ofLineVisualSetwith the specified name and step interpolation from the providedITableFunction.static LineVisualSet<Pair<Double, Double>> Creates an instance ofLineVisualSetwith the specified name from the provided supplier of list of argument-value pairs (instancesPair) of Double values.static LineVisualSet<Pair<Double, Double>> Creates an instance ofLineVisualSetwith the specified name from the provided list of argument-value pairs (instancesPair) of Double values.static LineBarVisualSet<Pair<Double, Double>> VisualSets.lineBar(String name, ITimeStatistics timeStatistics) Creates an instance ofLineBarVisualSetwith the specified name and linear interpolation from the providedITimeStatistics.static LineBarVisualSet<Pair<Double, Double>> VisualSets.lineBar(String name, ITableFunction tableFunction) Creates an instance ofLineBarVisualSetwith the specified name and linear interpolation from the providedITableFunction.static LineBarVisualSet<Pair<Double, Double>> VisualSets.lineBar(String name, ITableFunction tableFunction, double granularity) Creates an instance ofLineBarVisualSetwith the specified name, linear interpolation, and specified x-axis granularity from the providedITableFunction.static PolylineVisualSet<Pair<Double, Double>> VisualSets.polyline(String name, RatePlanner ratePlanner) static PolylineVisualSet<Pair<Double, Double>> static PolylineVisualSet<Pair<Double, Double>> Methods in com.amalgamasimulation.visualsets with parameters of type PairModifier and TypeMethodDescriptionRangeRegionVisualSet.getClipboardText(Pair<Double, Double> object) Method parameters in com.amalgamasimulation.visualsets with type arguments of type PairModifier and TypeMethodDescriptionstatic GanttPolylineVisualSet<Pair<Double, Double>> VisualSets.ganttPolyline(String name, GanttChartRow row, Color color, List<Pair<Double, Double>> list) static GanttPolylineVisualSet<Pair<Double, Double>> VisualSets.ganttPolyline(String name, GanttChartRow row, Supplier<List<Pair<Double, Double>>> list) static GanttPolylineVisualSet<Pair<Double, Double>> VisualSets.ganttPolyline(String name, GanttChartRow row, List<Pair<Double, Double>> list) static GanttPolylineVisualSet<Pair<Double, Double>> static GanttPolylineVisualSet<Pair<Double, Double>> static LineVisualSet<Pair<Double, Double>> Creates an instance ofLineVisualSetwith the specified name from the provided supplier of list of argument-value pairs (instancesPair) of Double values.static LineVisualSet<Pair<Double, Double>> Creates an instance ofLineVisualSetwith the specified name from the provided list of argument-value pairs (instancesPair) of Double values.static PolylineVisualSet<Pair<Double, Double>> static PolylineVisualSet<Pair<Double, Double>> GanttPiecewisePolylineVisualSet.setDisplayedRangeExtractor(Supplier<Pair<Double, Double>> displayedRangeExtractor) IPiecewiseVisualSet.setDisplayedRangeExtractor(Supplier<Pair<Double, Double>> displayedRangeExtractor) Sets a function that specifies the rule for extracting a current displayed range on plot.PiecewisePolylineVisualSet.setDisplayedRangeExtractor(Supplier<Pair<Double, Double>> displayedRangeExtractor) Constructor parameters in com.amalgamasimulation.visualsets with type arguments of type PairModifierConstructorDescriptionConnectionVisualSet(String name, Supplier<List<T>> dataElementsProvider, Function<T, Pair<GanttChartRow, Double>> sourceArgumentExtractor, Function<T, Pair<GanttChartRow, Double>> targetArgumentExtractor) Constructs a ConnectionVisualSet with given name, data elements and a set of parameters required to describe a dependency.