closest_pair

package
v0.0.0-...-736f5eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2015 License: MIT Imports: 2 Imported by: 0

README

Benchmark

BenchmarkBruteForce       5000000      698 ns/op
BenchmarkDivideAndConquer 1000000      3566 ns/op

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BruteForce

func BruteForce(P []point) *pair

func DivideAndConquer

func DivideAndConquer(P []point) *pair

Types

type Pair

type Pair interface {
	// contains filtered or unexported methods
}

type Point

type Point interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL