Result

class Result<V : Vector<V>>(val distance: Double, val result: Pair<V, V>)(source)

Represents the result of the closest pair algorithm.

Constructors

Link copied to clipboard
constructor(distance: Double, result: Pair<V, V>)

Properties

Link copied to clipboard

The distance between the closest pair of points.

Link copied to clipboard
val result: Pair<V, V>

A pair of points that are the closest to each other.