logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ann_sample - Sample program for the ANN library

Author

       Sunil Arya and David Mount

Description

       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

Name

       ann_sample - Sample program for the ANN library

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

See Also

       ann2fig (1)

ANN 1.1.2+doc                                      2024-04-18                                      ANN_SAMPLE(1)

Synopsis

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

See Also