11 #ifndef ACTIVE_WITNESS_ACTIVE_WITNESS_H_
12 #define ACTIVE_WITNESS_ACTIVE_WITNESS_H_
14 #include <gudhi/Active_witness/Active_witness_iterator.h>
19 namespace witness_complex {
25 template<
typename Id_distance_pair,
30 typedef typename INS_range::iterator INS_iterator;
32 typedef typename std::list<Id_distance_pair> Table;
34 Table nearest_landmark_table_;
35 INS_range search_range_;
36 INS_iterator iterator_next_;
37 INS_iterator iterator_end_;
40 : search_range_(search_range), iterator_next_(search_range_.begin()), iterator_end_(search_range_.end()) {
44 return iterator(
this, nearest_landmark_table_.begin());
Iterator in the nearest landmark list.
Definition: Active_witness_iterator.h:34
Class representing a list of nearest neighbors to a given witness.
Definition: Active_witness.h:27
Gudhi namespace.
Definition: SimplicialComplexForAlpha.h:14