ClosestPairDivideAndConquer

Closest Pair algorithm using the Divide and Conquer approach.

Constructors

Link copied to clipboard
constructor(input: Collection<Vec2>)

initializes the algorithm with a collection of points.

Types

Link copied to clipboard

Functions

Link copied to clipboard
open override fun run(): Result<Vec2>

Runs the algorithm and returns the output.