11#ifndef SIMPLEX_TREE_HOOKS_SIMPLEX_BASE_H_
12#define SIMPLEX_TREE_HOOKS_SIMPLEX_BASE_H_
14#include <boost/intrusive/list.hpp>
36 : list_max_vertex_hook_() { }
39 throw std::logic_error(
"Should not happen");
43 list_max_vertex_hook_.swap_nodes(other.list_max_vertex_hook_);
47 list_max_vertex_hook_.swap_nodes(other.list_max_vertex_hook_);
50 void unlink_hooks() { list_max_vertex_hook_.unlink(); }
53 typedef boost::intrusive::list_member_hook<
54 boost::intrusive::link_mode<boost::intrusive::auto_unlink>>
57 Member_hook_t list_max_vertex_hook_;
Gudhi namespace.
Definition: SimplicialComplexForAlpha.h:14
No hook when SimplexTreeOptions::link_nodes_by_label is false.
Definition: hooks_simplex_base.h:20
Data structure to put all simplex tree nodes with same label into a list.
Definition: hooks_simplex_base.h:29