Edited dbscan_main.cpp

This commit is contained in:
Kim SangYeon
2019-01-06 06:05:30 +09:00
parent 5354e074b0
commit 3d0f751b7e
+3 -2
View File
@@ -97,6 +97,7 @@ void RunDBSCAN(RangeSearchType rs,
DBSCAN<RangeSearchType, PointSelectionPolicy> d(epsilon, minSize,
!CLI::HasParam("single_mode"), rs, pointSelector);
// If possible, avoid the overhead of calculating centroids.
if (CLI::HasParam("centroids"))
{
arma::mat centroids;
@@ -167,8 +168,8 @@ static void mlpackMain()
}
else if (treeType == "r")
{
ChoosePointSelectionPolicy<RangeSearch<EuclideanDistance,
arma::mat, RTree>>();
ChoosePointSelectionPolicy<RangeSearch<EuclideanDistance, arma::mat,
RTree>>();
}
else if (treeType == "r-star")
{