ann_sample(1)

ann_sample1

Sample program for the ann library

Usage

ann_sample [-d dim] [-max m] [-nn k] [-e eps] [-df data] [-qf query]

Overview

This is a sample program for the the Approximate Nearest Neighbor Searching library. Results are sent to the standard output. To run a demo, try:

    ann_sample -df /usr/share/doc/ann-tools/data.pts -qf /usr/share/doc/ann-tools/query.pts

and compare the result with

    /usr/share/doc/ann-tools/sample.save

Options

-d dim

dimension of the space (default = 2)

-max m

maximum number of data points (default = 1000)

-nn k

number of nearest neighbors per query (default 1)

-e eps

the error bound (default = 0.0)

-df data

name of file containing data points

-qf query

name of file containing query points

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–11
  6. 12–13

Author

Sunil Arya and David Mount

From ann-tools 1.1.2+doc-9+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.