Chebyshev Distance Optimization
- ###
- Description
- This post explores the optimization of Chebyshev Distance with N points.
- Publish Date
- Calculating Date
- Tags
- [[cpp], [competitive programming], [optimization]] ###
To begin, Chebyshev Distance is defined as in . This is the equivalent of the norm. The question is: given points in , how do we find the point(s) in that minimize the maximum Chebyshev distance to these points?
Formalization
Given points for , we want to minimize function defined as . Simple enough, the solution is to find the minimum axis-aligned bounding box that contains all the points, which is a rectangle with the left top corner as and the right bottom corner as . The minimum Chebyshev distance is then
achieved at the center of the bounding box.
Trivia
Chebyshev distance was introduced in an example involving chess.