Fixed bug w/ eps data type.

Added size() to cluster_data.



[SVN r45235]
This commit is contained in:
Jonathan Franklin
2008-05-08 22:36:19 +00:00
parent 64d219039e
commit fe73f86604
3 changed files with 9 additions and 4 deletions

View File

@ -21,12 +21,12 @@ namespace detail
// TODO: Replace this naive query function w/ R*-tree or fractional cascading.
// This query mechanism makes the runtime quadratic.
template<typename NTupleIterT, typename DistFunT>
template<typename NTupleIterT, typename DistanceT, typename DistFunT>
static void naive_query(
NTupleIterT const & query_pt,
NTupleIterT const & begin,
NTupleIterT const & end,
typename NTupleIterT::difference_type eps,
DistanceT const & eps,
DistFunT const & d,
std::vector<NTupleIterT> & v)
{