mlpack
Functions
krann_search_test.cpp File Reference

Unit tests for the 'RASearch' class and consequently the 'RASearchRules' class. More...

#include <time.h>
#include <mlpack/core.hpp>
#include <mlpack/core/metrics/lmetric.hpp>
#include <mlpack/core/tree/cover_tree.hpp>
#include "catch.hpp"
#include <mlpack/methods/rann/ra_search.hpp>
#include <mlpack/methods/rann/ra_model.hpp>
Include dependency graph for krann_search_test.cpp:

Functions

 TEST_CASE ("NaiveGuaranteeTest", "[KRANNTest]")
 
 TEST_CASE ("SingleTreeSearch", "[KRANNTest]")
 
 TEST_CASE ("DualTreeSearch", "[KRANNTest]")
 
 TEST_CASE ("SingleDatasetNaiveSearch", "[KRANNTest]")
 
 TEST_CASE ("SingleDatasetSingleSearch", "[KRANNTest]")
 
 TEST_CASE ("SingleDatasetSearch", "[KRANNTest]")
 
 TEST_CASE ("SingleCoverTreeTest", "[KRANNTest]")
 
 TEST_CASE ("DualCoverTreeTest", "[KRANNTest]")
 
 TEST_CASE ("KRANNNeighborPtrDeleteTest", "[KRANNTest]")
 Make sure that the neighborPtr matrix isn't accidentally deleted. More...
 
 TEST_CASE ("KRANNMoveConstructorTest", "[KRANNTest]")
 Test that the rvalue reference move constructor works.
 
 TEST_CASE ("KRANNMoveTrainTest", "[KRANNTest]")
 Test that the dataset can be retrained with the move Train() function.
 
 TEST_CASE ("RAModelTest", "[KRANNTest]")
 Make sure the RAModel class works.
 

Detailed Description

Unit tests for the 'RASearch' class and consequently the 'RASearchRules' class.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Function Documentation

◆ TEST_CASE()

TEST_CASE ( "KRANNNeighborPtrDeleteTest"  ,
""  [KRANNTest] 
)

Make sure that the neighborPtr matrix isn't accidentally deleted.

See issue #478.