db_planner::NeighborFinder< Query > Class Template Reference

A class to find Models that are neighbors of some input. More...

#include <neighbor_finder.h>

List of all members.

Public Member Functions

virtual bool Find (const Query &, const int, vector< pair< Model *, double > > *) const
virtual ~NeighborFinder ()

Detailed Description

template<class Query>
class db_planner::NeighborFinder< Query >

A class to find Models that are neighbors of some input.

Definition at line 42 of file neighbor_finder.h.


Constructor & Destructor Documentation

template<class Query>
virtual db_planner::NeighborFinder< Query >::~NeighborFinder (  )  [inline, virtual]

Definition at line 54 of file neighbor_finder.h.


Member Function Documentation

template<class Query>
virtual bool db_planner::NeighborFinder< Query >::Find ( const Query &  ,
const   int,
vector< pair< Model *, double > > *   
) const [inline, virtual]

This virtual function finds neighboring models to a given Model. This base version always fails regardless of input. WARNING: "num_neighbors" is decieving - implementations should returns from num_neighbors to 2 x num_neighbors results, because whenever possible neighbors should be duplicated at the scale above and below the given Model.

Reimplemented in db_planner::CachingNeighborFinder.

Definition at line 49 of file neighbor_finder.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:32 2012