iopoint_distance: Calculate IO Point Distance

View source: R/iopoint_distance.r

iopoint_distanceR Documentation

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)

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.

Value

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

Author(s)

Krzysztof Dmytrów krzysztof.dmytrow@usz.edu.pl [aut] ORCID: 0000-0001-7657-6063

Andrzej Dudek andrzej.dudek@ue.wroc.pl [aut, cre] ORCID: 0000-0002-4943-8703

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. \Sexpr[results=rd]{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

iopoint_distance(i = 1,  warehouse_height = 10)
iopoint_distance(i = 15,  warehouse_height = 5)


warehouseTools documentation built on April 3, 2025, 10:29 p.m.