summaryrefslogtreecommitdiff
path: root/src/Bottleneck_distance/include
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-09-27 08:53:57 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-09-27 08:53:57 +0000
commit7a701f8a2326268b2aadb369fbc0848b227078a1 (patch)
treef5d17d492a5e5e1a61c6eae785beee08506e0637 /src/Bottleneck_distance/include
parent2f0d4a7a06f8fde904b75b27c3836e362f549707 (diff)
Fix naming conventions and cpplint
Add Bottleneck_distance to GUDHI_MODULES in GUDHI_user_version_target.txt git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bottleneck_integration@1569 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: b96a2be25477ddf227e43d9941989f93a0f626bb
Diffstat (limited to 'src/Bottleneck_distance/include')
-rw-r--r--src/Bottleneck_distance/include/gudhi/CGAL/Miscellaneous.h2
-rw-r--r--src/Bottleneck_distance/include/gudhi/Graph_matching.h10
-rw-r--r--src/Bottleneck_distance/include/gudhi/Internal_point.h10
-rw-r--r--src/Bottleneck_distance/include/gudhi/Neighbors_finder.h10
-rw-r--r--src/Bottleneck_distance/include/gudhi/Persistence_diagrams_graph.h10
-rw-r--r--src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h10
6 files changed, 26 insertions, 26 deletions
diff --git a/src/Bottleneck_distance/include/gudhi/CGAL/Miscellaneous.h b/src/Bottleneck_distance/include/gudhi/CGAL/Miscellaneous.h
index 21be0bc7..91632149 100644
--- a/src/Bottleneck_distance/include/gudhi/CGAL/Miscellaneous.h
+++ b/src/Bottleneck_distance/include/gudhi/CGAL/Miscellaneous.h
@@ -27,7 +27,7 @@
namespace CGAL {
-typedef Gudhi::Bottleneck_distance::Internal_point Internal_point;
+typedef Gudhi::bottleneck_distance::Internal_point Internal_point;
template <>
struct Kernel_traits<Internal_point> {
diff --git a/src/Bottleneck_distance/include/gudhi/Graph_matching.h b/src/Bottleneck_distance/include/gudhi/Graph_matching.h
index 7a8c8ee0..5f579a0c 100644
--- a/src/Bottleneck_distance/include/gudhi/Graph_matching.h
+++ b/src/Bottleneck_distance/include/gudhi/Graph_matching.h
@@ -20,8 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SRC_BOTTLENECK_INCLUDE_GUDHI_GRAPH_MATCHING_H_
-#define SRC_BOTTLENECK_INCLUDE_GUDHI_GRAPH_MATCHING_H_
+#ifndef GRAPH_MATCHING_H_
+#define GRAPH_MATCHING_H_
#include <deque>
@@ -29,7 +29,7 @@
namespace Gudhi {
-namespace Bottleneck_distance {
+namespace bottleneck_distance {
/** \brief Function to use in order to compute the Bottleneck distance between two persistence diagrams. You get an additive e-approximation.
*
@@ -238,11 +238,11 @@ double compute(const Persistence_diagram1 &diag1, const Persistence_diagram2 &di
-} // namespace Bottleneck_distance
+} // namespace bottleneck_distance
} // namespace Gudhi
-#endif // SRC_BOTTLENECK_INCLUDE_GUDHI_GRAPH_MATCHING_H_
+#endif // GRAPH_MATCHING_H_
/* Dichotomic version
template<typename Persistence_diagram1, typename Persistence_diagram2>
diff --git a/src/Bottleneck_distance/include/gudhi/Internal_point.h b/src/Bottleneck_distance/include/gudhi/Internal_point.h
index 2080900d..f05d5fc9 100644
--- a/src/Bottleneck_distance/include/gudhi/Internal_point.h
+++ b/src/Bottleneck_distance/include/gudhi/Internal_point.h
@@ -20,12 +20,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SRC_BOTTLENECK_INCLUDE_GUDHI_INTERNAL_POINT_H_
-#define SRC_BOTTLENECK_INCLUDE_GUDHI_INTERNAL_POINT_H_
+#ifndef INTERNAL_POINT_H_
+#define INTERNAL_POINT_H_
namespace Gudhi {
-namespace Bottleneck_distance {
+namespace bottleneck_distance {
/** \internal \brief Returns the used index for encoding none of the points */
int null_point_index();
@@ -67,8 +67,8 @@ inline int null_point_index() {
return -1;
}
-} // namespace Bottleneck_distance
+} // namespace bottleneck_distance
} // namespace Gudhi
-#endif // SRC_BOTTLENECK_INCLUDE_GUDHI_INTERNAL_POINT_H_
+#endif // INTERNAL_POINT_H_
diff --git a/src/Bottleneck_distance/include/gudhi/Neighbors_finder.h b/src/Bottleneck_distance/include/gudhi/Neighbors_finder.h
index 7ad79126..1bd5879c 100644
--- a/src/Bottleneck_distance/include/gudhi/Neighbors_finder.h
+++ b/src/Bottleneck_distance/include/gudhi/Neighbors_finder.h
@@ -20,15 +20,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SRC_BOTTLENECK_INCLUDE_GUDHI_NEIGHBORS_FINDER_H_
-#define SRC_BOTTLENECK_INCLUDE_GUDHI_NEIGHBORS_FINDER_H_
+#ifndef NEIGHBORS_FINDER_H_
+#define NEIGHBORS_FINDER_H_
#include <unordered_set>
#include <gudhi/Planar_neighbors_finder.h>
namespace Gudhi {
-namespace Bottleneck_distance {
+namespace bottleneck_distance {
/** \internal \brief data structure used to find any point (including projections) in V near to a query point from U
* (which can be a projection).
@@ -147,8 +147,8 @@ inline int Layered_neighbors_finder::vlayers_number() const {
return static_cast<int>(neighbors_finder.size());
}
-} // namespace Bottleneck_distance
+} // namespace bottleneck_distance
} // namespace Gudhi
-#endif // SRC_BOTTLENECK_INCLUDE_GUDHI_NEIGHBORS_FINDER_H_
+#endif // NEIGHBORS_FINDER_H_
diff --git a/src/Bottleneck_distance/include/gudhi/Persistence_diagrams_graph.h b/src/Bottleneck_distance/include/gudhi/Persistence_diagrams_graph.h
index e31b2dae..1f6d6683 100644
--- a/src/Bottleneck_distance/include/gudhi/Persistence_diagrams_graph.h
+++ b/src/Bottleneck_distance/include/gudhi/Persistence_diagrams_graph.h
@@ -20,8 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SRC_BOTTLENECK_INCLUDE_GUDHI_PERSISTENCE_DIAGRAMS_GRAPH_H_
-#define SRC_BOTTLENECK_INCLUDE_GUDHI_PERSISTENCE_DIAGRAMS_GRAPH_H_
+#ifndef PERSISTENCE_DIAGRAMS_GRAPH_H_
+#define PERSISTENCE_DIAGRAMS_GRAPH_H_
#include <vector>
#include <set>
@@ -34,7 +34,7 @@
namespace Gudhi {
-namespace Bottleneck_distance {
+namespace bottleneck_distance {
/** \internal \brief Structure representing an euclidean bipartite graph containing
@@ -162,8 +162,8 @@ inline double G::diameter() {
return max;
}
-} // namespace Bottleneck_distance
+} // namespace bottleneck_distance
} // namespace Gudhi
-#endif // SRC_BOTTLENECK_INCLUDE_GUDHI_PERSISTENCE_DIAGRAMS_GRAPH_H_
+#endif // PERSISTENCE_DIAGRAMS_GRAPH_H_
diff --git a/src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h b/src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h
index 30f7dc3c..bf70ed0b 100644
--- a/src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h
+++ b/src/Bottleneck_distance/include/gudhi/Planar_neighbors_finder.h
@@ -20,8 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SRC_BOTTLENECK_INCLUDE_GUDHI_PLANAR_NEIGHBORS_FINDER_H_
-#define SRC_BOTTLENECK_INCLUDE_GUDHI_PLANAR_NEIGHBORS_FINDER_H_
+#ifndef PLANAR_NEIGHBORS_FINDER_H_
+#define PLANAR_NEIGHBORS_FINDER_H_
#include <list>
#include <map>
@@ -40,7 +40,7 @@
namespace Gudhi {
-namespace Bottleneck_distance {
+namespace bottleneck_distance {
/** \internal \brief Structure used to find any point in V near (according to the planar distance) to a query point from U.
*
@@ -217,8 +217,8 @@ inline std::shared_ptr< std::list<int> > Cgal_pnf::pull_all_near(int u_point_ind
}
-} // namespace Bottleneck_distance
+} // namespace bottleneck_distance
} // namespace Gudhi
-#endif // SRC_BOTTLENECK_INCLUDE_GUDHI_PLANAR_NEIGHBORS_FINDER_H_
+#endif // PLANAR_NEIGHBORS_FINDER_H_