Learn R Programming

warehouseTools (version 0.1.2)

iopoint_distance: Calculate IO Point Distance

Description

This function calculates the distance to the I/O point based on the provided position in the warehouse. The taxicab geometry is used to calculate the distance.

Usage

iopoint_distance(i, warehouse_height)

Value

A numeric value representing the calculated distance to the I/O point.

Arguments

i

Integer index representing the position.

warehouse_height

Integer representing the height of the warehouse (number of levels or rows).

Details

The function calculates the x and y coordinates of the position within the warehouse and returns the sum of x and y as the distance.

References

Dmytrów, K. (2022). Analytical and simulation determination of order picking time in a low storage warehouse for shared storage systems. Operations Research and Decisions, 32(2), 34–51. tools:::Rd_expr_doi("10.37190/ord220203")

Petrović, M., Malešević, B., Banjac, B., & Obradović, R. (2014). Geometry of some taxicab curves. *4th International Scientific Conference on Geometry and Graphics*. Serbian Society for Geometry and Graphics, University of Niš, Srbija.

Examples

Run this code
iopoint_distance(i = 1,  warehouse_height = 10)
iopoint_distance(i = 15,  warehouse_height = 5)

Run the code above in your browser using DataLab