summaryrefslogtreecommitdiff
path: root/src/Witness_complex/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/Witness_complex/include')
-rw-r--r--src/Witness_complex/include/gudhi/Landmark_choice_by_furthest_point.h8
-rw-r--r--src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h8
-rw-r--r--src/Witness_complex/include/gudhi/Witness_complex.h9
3 files changed, 21 insertions, 4 deletions
diff --git a/src/Witness_complex/include/gudhi/Landmark_choice_by_furthest_point.h b/src/Witness_complex/include/gudhi/Landmark_choice_by_furthest_point.h
index 6ac59ae9..050286f2 100644
--- a/src/Witness_complex/include/gudhi/Landmark_choice_by_furthest_point.h
+++ b/src/Witness_complex/include/gudhi/Landmark_choice_by_furthest_point.h
@@ -23,6 +23,10 @@
#ifndef GUDHI_LANDMARK_CHOICE_BY_FURTHEST_POINT_H_
#define GUDHI_LANDMARK_CHOICE_BY_FURTHEST_POINT_H_
+namespace Gudhi {
+
+namespace witness_complex {
+
/**
* \class Landmark_choice_by_furthest_point
* \brief The class `Landmark_choice_by_furthest_point` allows to construct the matrix
@@ -96,4 +100,8 @@ public:
};
+}
+
+}
+
#endif
diff --git a/src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h b/src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h
index fa822591..038deff6 100644
--- a/src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h
+++ b/src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h
@@ -23,6 +23,10 @@
#ifndef GUDHI_LANDMARK_CHOICE_BY_RANDOM_POINT_H_
#define GUDHI_LANDMARK_CHOICE_BY_RANDOM_POINT_H_
+namespace Gudhi {
+
+namespace witness_complex {
+
/**
* \class Landmark_choice_by_random_point
* \brief The class `Landmark_choice_by_random_point` allows to construct the matrix
@@ -81,4 +85,8 @@ public:
};
+}
+
+}
+
#endif
diff --git a/src/Witness_complex/include/gudhi/Witness_complex.h b/src/Witness_complex/include/gudhi/Witness_complex.h
index 915e445c..8938e59d 100644
--- a/src/Witness_complex/include/gudhi/Witness_complex.h
+++ b/src/Witness_complex/include/gudhi/Witness_complex.h
@@ -44,7 +44,8 @@
namespace Gudhi {
-
+ namespace witness_complex {
+
/**
\class Witness_complex
\brief Constructs the witness complex for the given set of witnesses and landmarks.
@@ -256,13 +257,13 @@ namespace Gudhi {
return false;
}
}
- return true; // Arrive here if the not_witnessed check failed all the time
+ return true;
}
-}; //class Witness_complex
-
+ }; //class Witness_complex
+ } //namespace witness_complex
} // namespace Guhdi