18#ifndef PM_ID_POS_MAPPER_H
19#define PM_ID_POS_MAPPER_H
21#include <unordered_map>
24namespace persistence_matrix {
33struct Dummy_pos_mapper {
34 friend void swap([[maybe_unused]] Dummy_pos_mapper& d1, [[maybe_unused]] Dummy_pos_mapper& d2) {}
46template<
typename ID_index,
typename Pos_index>
47struct Cell_position_to_ID_mapper {
48 using Index_map = std::unordered_map<Pos_index,ID_index>;
52 friend void swap(Cell_position_to_ID_mapper& mapper1, Cell_position_to_ID_mapper& mapper2) {
53 mapper1.map_.swap(mapper2.map_);
Gudhi namespace.
Definition: SimplicialComplexForAlpha.h:14