libjbt

distance.h File Reference

Abstraction of distance metrics. More...

Compounds

Defines


Detailed Description

Abstraction of distance metrics.

Author(s):
Mark Tigges

Somebody looking at these functions after I wrote them may think that they are wasteful in computation. There is some duplication of effort across f and df. The solution is to have a beginQuery function much like a jbt_blobtree which gets called by the primitive that has the distance function. This isn't a good solution though because then every primitive must have its own instance of the distance function. Prohibitviely expensive for complex objects with hundreds of primitives.


Define Documentation

#define jbt_distance_h


JSP / libjbt v0.1 mtigges@cpsc.ucalgary.ca