IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
alglib.nearestneighbor Class Reference

Classes

class  kdtree
 

Static Public Member Functions

static void kdtreebuild (double[,] xy, int n, int nx, int ny, int normtype, kdtree kdt)
 
static void kdtreebuildtagged (double[,] xy, int[] tags, int n, int nx, int ny, int normtype, kdtree kdt)
 
static int kdtreequeryknn (kdtree kdt, double[] x, int k, bool selfmatch)
 
static int kdtreequeryrnn (kdtree kdt, double[] x, double r, bool selfmatch)
 
static int kdtreequeryaknn (kdtree kdt, double[] x, int k, bool selfmatch, double eps)
 
static void kdtreequeryresultsx (kdtree kdt, ref double[,] x)
 
static void kdtreequeryresultsxy (kdtree kdt, ref double[,] xy)
 
static void kdtreequeryresultstags (kdtree kdt, ref int[] tags)
 
static void kdtreequeryresultsdistances (kdtree kdt, ref double[] r)
 
static void kdtreequeryresultsxi (kdtree kdt, ref double[,] x)
 
static void kdtreequeryresultsxyi (kdtree kdt, ref double[,] xy)
 
static void kdtreequeryresultstagsi (kdtree kdt, ref int[] tags)
 
static void kdtreequeryresultsdistancesi (kdtree kdt, ref double[] r)
 
static void kdtreealloc (alglib.serializer s, kdtree tree)
 
static void kdtreeserialize (alglib.serializer s, kdtree tree)
 
static void kdtreeunserialize (alglib.serializer s, kdtree tree)
 
static void kdtreebuild (double[,] xy, int n, int nx, int ny, int normtype, kdtree kdt)
 
static void kdtreebuildtagged (double[,] xy, int[] tags, int n, int nx, int ny, int normtype, kdtree kdt)
 
static int kdtreequeryknn (kdtree kdt, double[] x, int k, bool selfmatch)
 
static int kdtreequeryrnn (kdtree kdt, double[] x, double r, bool selfmatch)
 
static int kdtreequeryaknn (kdtree kdt, double[] x, int k, bool selfmatch, double eps)
 
static void kdtreequeryresultsx (kdtree kdt, ref double[,] x)
 
static void kdtreequeryresultsxy (kdtree kdt, ref double[,] xy)
 
static void kdtreequeryresultstags (kdtree kdt, ref int[] tags)
 
static void kdtreequeryresultsdistances (kdtree kdt, ref double[] r)
 
static void kdtreequeryresultsxi (kdtree kdt, ref double[,] x)
 
static void kdtreequeryresultsxyi (kdtree kdt, ref double[,] xy)
 
static void kdtreequeryresultstagsi (kdtree kdt, ref int[] tags)
 
static void kdtreequeryresultsdistancesi (kdtree kdt, ref double[] r)
 
static void kdtreealloc (alglib.serializer s, kdtree tree)
 
static void kdtreeserialize (alglib.serializer s, kdtree tree)
 
static void kdtreeunserialize (alglib.serializer s, kdtree tree)
 

Public Attributes

const int splitnodesize = 6
 
const int kdtreefirstversion = 0
 

Static Private Member Functions

static void kdtreesplit (kdtree kdt, int i1, int i2, int d, double s, ref int i3)
 
static void kdtreegeneratetreerec (kdtree kdt, ref int nodesoffs, ref int splitsoffs, int i1, int i2, int maxleafsize)
 
static void kdtreequerynnrec (kdtree kdt, int offs)
 
static void kdtreeinitbox (kdtree kdt, double[] x)
 
static void kdtreeallocdatasetindependent (kdtree kdt, int nx, int ny)
 
static void kdtreeallocdatasetdependent (kdtree kdt, int n, int nx, int ny)
 
static void kdtreealloctemporaries (kdtree kdt, int n, int nx, int ny)
 
static void kdtreesplit (kdtree kdt, int i1, int i2, int d, double s, ref int i3)
 
static void kdtreegeneratetreerec (kdtree kdt, ref int nodesoffs, ref int splitsoffs, int i1, int i2, int maxleafsize)
 
static void kdtreequerynnrec (kdtree kdt, int offs)
 
static void kdtreeinitbox (kdtree kdt, double[] x)
 
static void kdtreeallocdatasetindependent (kdtree kdt, int nx, int ny)
 
static void kdtreeallocdatasetdependent (kdtree kdt, int n, int nx, int ny)
 
static void kdtreealloctemporaries (kdtree kdt, int n, int nx, int ny)
 

Member Function Documentation

static void alglib.nearestneighbor.kdtreebuild ( double  xy[,],
int  n,
int  nx,
int  ny,
int  normtype,
kdtree  kdt 
)
inlinestatic
static int alglib.nearestneighbor.kdtreequeryrnn ( kdtree  kdt,
double[]  x,
double  r,
bool  selfmatch 
)
inlinestatic
static int alglib.nearestneighbor.kdtreequeryaknn ( kdtree  kdt,
double[]  x,
int  k,
bool  selfmatch,
double  eps 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsx ( kdtree  kdt,
ref double  x[,] 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsxi ( kdtree  kdt,
ref double  x[,] 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsxyi ( kdtree  kdt,
ref double  xy[,] 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultstagsi ( kdtree  kdt,
ref int[]  tags 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsdistancesi ( kdtree  kdt,
ref double[]  r 
)
inlinestatic
static void alglib.nearestneighbor.kdtreealloc ( alglib.serializer  s,
kdtree  tree 
)
inlinestatic
static void alglib.nearestneighbor.kdtreeserialize ( alglib.serializer  s,
kdtree  tree 
)
inlinestatic
static void alglib.nearestneighbor.kdtreeunserialize ( alglib.serializer  s,
kdtree  tree 
)
inlinestatic
static void alglib.nearestneighbor.kdtreesplit ( kdtree  kdt,
int  i1,
int  i2,
int  d,
double  s,
ref int  i3 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreegeneratetreerec ( kdtree  kdt,
ref int  nodesoffs,
ref int  splitsoffs,
int  i1,
int  i2,
int  maxleafsize 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreequerynnrec ( kdtree  kdt,
int  offs 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreeinitbox ( kdtree  kdt,
double[]  x 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreeallocdatasetindependent ( kdtree  kdt,
int  nx,
int  ny 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreeallocdatasetdependent ( kdtree  kdt,
int  n,
int  nx,
int  ny 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreealloctemporaries ( kdtree  kdt,
int  n,
int  nx,
int  ny 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreebuild ( double  xy[,],
int  n,
int  nx,
int  ny,
int  normtype,
kdtree  kdt 
)
inlinestatic
static void alglib.nearestneighbor.kdtreebuildtagged ( double  xy[,],
int[]  tags,
int  n,
int  nx,
int  ny,
int  normtype,
kdtree  kdt 
)
inlinestatic
static int alglib.nearestneighbor.kdtreequeryknn ( kdtree  kdt,
double[]  x,
int  k,
bool  selfmatch 
)
inlinestatic
static int alglib.nearestneighbor.kdtreequeryrnn ( kdtree  kdt,
double[]  x,
double  r,
bool  selfmatch 
)
inlinestatic
static int alglib.nearestneighbor.kdtreequeryaknn ( kdtree  kdt,
double[]  x,
int  k,
bool  selfmatch,
double  eps 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsx ( kdtree  kdt,
ref double  x[,] 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsxy ( kdtree  kdt,
ref double  xy[,] 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultstags ( kdtree  kdt,
ref int[]  tags 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsdistances ( kdtree  kdt,
ref double[]  r 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsxi ( kdtree  kdt,
ref double  x[,] 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsxyi ( kdtree  kdt,
ref double  xy[,] 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultstagsi ( kdtree  kdt,
ref int[]  tags 
)
inlinestatic
static void alglib.nearestneighbor.kdtreequeryresultsdistancesi ( kdtree  kdt,
ref double[]  r 
)
inlinestatic
static void alglib.nearestneighbor.kdtreealloc ( alglib.serializer  s,
kdtree  tree 
)
inlinestatic
static void alglib.nearestneighbor.kdtreesplit ( kdtree  kdt,
int  i1,
int  i2,
int  d,
double  s,
ref int  i3 
)
inlinestaticprivate

References alglib.ap.assert().

static void alglib.nearestneighbor.kdtreegeneratetreerec ( kdtree  kdt,
ref int  nodesoffs,
ref int  splitsoffs,
int  i1,
int  i2,
int  maxleafsize 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreequerynnrec ( kdtree  kdt,
int  offs 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreeinitbox ( kdtree  kdt,
double[]  x 
)
inlinestaticprivate
static void alglib.nearestneighbor.kdtreeallocdatasetindependent ( kdtree  kdt,
int  nx,
int  ny 
)
inlinestaticprivate

References alglib.ap.assert().

static void alglib.nearestneighbor.kdtreeallocdatasetdependent ( kdtree  kdt,
int  n,
int  nx,
int  ny 
)
inlinestaticprivate

References alglib.ap.assert().

static void alglib.nearestneighbor.kdtreealloctemporaries ( kdtree  kdt,
int  n,
int  nx,
int  ny 
)
inlinestaticprivate

References alglib.ap.assert().

Member Data Documentation

const int alglib.nearestneighbor.splitnodesize = 6
const int alglib.nearestneighbor.kdtreefirstversion = 0

The documentation for this class was generated from the following file: