[mlpack-git] master: Remove unnecessary includes. (b12e151)

gitdub at mlpack.org gitdub at mlpack.org
Thu Jul 28 10:07:00 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/8522b04c3d9a82fb7e964bafd72e70f0cd30bf4b...b12e1517565652f62a551e1df41f2e51569bc9d9

>---------------------------------------------------------------

commit b12e1517565652f62a551e1df41f2e51569bc9d9
Author: Ryan Curtin <ryan at ratml.org>
Date:   Thu Jul 28 10:07:00 2016 -0400

    Remove unnecessary includes.


>---------------------------------------------------------------

b12e1517565652f62a551e1df41f2e51569bc9d9
 src/mlpack/methods/cf/cf.cpp                                 | 2 --
 src/mlpack/methods/fastmks/fastmks.hpp                       | 1 -
 src/mlpack/methods/fastmks/fastmks_rules.hpp                 | 1 -
 src/mlpack/methods/fastmks/fastmks_rules_impl.hpp            | 1 -
 src/mlpack/methods/lsh/lsh_search.hpp                        | 3 ---
 src/mlpack/methods/neighbor_search/neighbor_search_rules.hpp | 2 --
 src/mlpack/methods/range_search/range_search_rules.hpp       | 1 -
 src/mlpack/methods/rann/ra_search_rules.hpp                  | 2 --
 8 files changed, 13 deletions(-)

diff --git a/src/mlpack/methods/cf/cf.cpp b/src/mlpack/methods/cf/cf.cpp
index 01a4c84..82e08c1 100644
--- a/src/mlpack/methods/cf/cf.cpp
+++ b/src/mlpack/methods/cf/cf.cpp
@@ -9,8 +9,6 @@
  * specified data set.
  */
 #include "cf.hpp"
-#include <vector>
-#include <queue>
 
 namespace mlpack {
 namespace cf {
diff --git a/src/mlpack/methods/fastmks/fastmks.hpp b/src/mlpack/methods/fastmks/fastmks.hpp
index 031fe43..1fc2cdb 100644
--- a/src/mlpack/methods/fastmks/fastmks.hpp
+++ b/src/mlpack/methods/fastmks/fastmks.hpp
@@ -12,7 +12,6 @@
 #include <mlpack/core/metrics/ip_metric.hpp>
 #include "fastmks_stat.hpp"
 #include <mlpack/core/tree/cover_tree.hpp>
-#include <queue>
 
 namespace mlpack {
 namespace fastmks /** Fast max-kernel search. */ {
diff --git a/src/mlpack/methods/fastmks/fastmks_rules.hpp b/src/mlpack/methods/fastmks/fastmks_rules.hpp
index 49071c9..66d2082 100644
--- a/src/mlpack/methods/fastmks/fastmks_rules.hpp
+++ b/src/mlpack/methods/fastmks/fastmks_rules.hpp
@@ -11,7 +11,6 @@
 #include <mlpack/core/tree/cover_tree/cover_tree.hpp>
 #include <mlpack/core/tree/traversal_info.hpp>
 #include <boost/heap/priority_queue.hpp>
-#include <vector>
 
 namespace mlpack {
 namespace fastmks {
diff --git a/src/mlpack/methods/fastmks/fastmks_rules_impl.hpp b/src/mlpack/methods/fastmks/fastmks_rules_impl.hpp
index fe6e09b..66513ed 100644
--- a/src/mlpack/methods/fastmks/fastmks_rules_impl.hpp
+++ b/src/mlpack/methods/fastmks/fastmks_rules_impl.hpp
@@ -9,7 +9,6 @@
 
 // In case it hasn't already been included.
 #include "fastmks_rules.hpp"
-#include <algorithm>
 
 namespace mlpack {
 namespace fastmks {
diff --git a/src/mlpack/methods/lsh/lsh_search.hpp b/src/mlpack/methods/lsh/lsh_search.hpp
index c622fbb..c5fb11f 100644
--- a/src/mlpack/methods/lsh/lsh_search.hpp
+++ b/src/mlpack/methods/lsh/lsh_search.hpp
@@ -39,9 +39,6 @@
 #define MLPACK_METHODS_NEIGHBOR_SEARCH_LSH_SEARCH_HPP
 
 #include <mlpack/core.hpp>
-#include <vector>
-#include <string>
-#include <queue>
 
 #include <mlpack/core/metrics/lmetric.hpp>
 #include <mlpack/methods/neighbor_search/sort_policies/nearest_neighbor_sort.hpp>
diff --git a/src/mlpack/methods/neighbor_search/neighbor_search_rules.hpp b/src/mlpack/methods/neighbor_search/neighbor_search_rules.hpp
index a44d06a..0347da5 100644
--- a/src/mlpack/methods/neighbor_search/neighbor_search_rules.hpp
+++ b/src/mlpack/methods/neighbor_search/neighbor_search_rules.hpp
@@ -9,8 +9,6 @@
 #define MLPACK_METHODS_NEIGHBOR_SEARCH_NEIGHBOR_SEARCH_RULES_HPP
 
 #include <mlpack/core/tree/traversal_info.hpp>
-#include <vector>
-#include <queue>
 
 namespace mlpack {
 namespace neighbor {
diff --git a/src/mlpack/methods/range_search/range_search_rules.hpp b/src/mlpack/methods/range_search/range_search_rules.hpp
index 0f492a8..5ffce44 100644
--- a/src/mlpack/methods/range_search/range_search_rules.hpp
+++ b/src/mlpack/methods/range_search/range_search_rules.hpp
@@ -12,7 +12,6 @@
 namespace mlpack {
 namespace range {
 
-
 /**
  * The RangeSearchRules class is a template helper class used by RangeSearch
  * class when performing range searches.
diff --git a/src/mlpack/methods/rann/ra_search_rules.hpp b/src/mlpack/methods/rann/ra_search_rules.hpp
index 93b7a8c..a07577c 100644
--- a/src/mlpack/methods/rann/ra_search_rules.hpp
+++ b/src/mlpack/methods/rann/ra_search_rules.hpp
@@ -10,8 +10,6 @@
 #define MLPACK_METHODS_RANN_RA_SEARCH_RULES_HPP
 
 #include <mlpack/core/tree/traversal_info.hpp>
-#include <vector>
-#include <queue>
 
 namespace mlpack {
 namespace neighbor {




More information about the mlpack-git mailing list