Add access to the reference set.

This commit is contained in:
Ryan Curtin
2015-10-19 16:02:55 -04:00
parent 09cd0d67f2
commit b44979b736
@@ -229,6 +229,9 @@ class NeighborSearch
//! Modify whether or not search is done in single-tree mode.
bool& SingleMode() { return singleMode; }
//! Access the reference dataset.
const MatType& ReferenceSet() const { return *referenceSet; }
//! Serialize the NeighborSearch model.
template<typename Archive>
void Serialize(Archive& ar, const unsigned int /* version */);