Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 569 Bytes
#include <vector>
* A simple point class containing a vector of doubles and a single char name.
class CoverTreePoint
std::vector<double> _vec;
char _name;
CoverTreePoint(std::vector<double> v, char name) : _vec(v), _name(name) {}
double distance(const CoverTreePoint& p) const;
const std::vector<double>& getVec() const;
const char& getChar() const;
void print() const;
bool operator==(const CoverTreePoint&) const;