IClosestPair

Interface for closest pair algorithms.

This interface defines the contract for algorithms that find the closest pair of points in a collection of points in 2D space.

Inheritors

Functions

Link copied to clipboard
abstract fun execute(): Result<V>

Execute the algorithm and returns the output.