address.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::bound
 
 mlpack::bound::addr
 

Functions

template
<
typename
AddressType
,
typename
VecType
>
void AddressToPoint (VecType &point, const AddressType &address)
 Translate the address to the point. More...

 
template
<
typename
AddressType
1
,
typename
AddressType
2
>
int CompareAddresses (const AddressType1 &addr1, const AddressType2 &addr2)
 Compare two addresses. More...

 
template
<
typename
AddressType
1
,
typename
AddressType
2
,
typename
AddressType
3
>
bool Contains (const AddressType1 &address, const AddressType2 &loBound, const AddressType3 &hiBound)
 Returns true if an address is contained between two other addresses. More...

 
template
<
typename
AddressType
,
typename
VecType
>
void PointToAddress (AddressType &address, const VecType &point)
 Calculate the address of a point. More...

 

Detailed Description

Author
Mikhail Lozhnikov

This file contains a series of functions for translating points to addresses and back and functions for comparing addresses.

The notion of addresses is described in the following paper.

@inproceedings{bayer1997,
author = {Bayer, Rudolf},
title = {The Universal B-Tree for Multidimensional Indexing: General
Concepts},
booktitle = {Proceedings of the International Conference on Worldwide
Computing and Its Applications},
series = {WWCA '97},
year = {1997},
isbn = {3-540-63343-X},
pages = {198--209},
numpages = {12},
publisher = {Springer-Verlag},
address = {London, UK, UK},
}

Definition in file address.hpp.