23 #ifndef SRC_SIMPLEX_TREE_INCLUDE_GUDHI_SIMPLEX_TREE_SIMPLEX_TREE_NODE_EXPLICIT_STORAGE_H_
24 #define SRC_SIMPLEX_TREE_INCLUDE_GUDHI_SIMPLEX_TREE_SIMPLEX_TREE_NODE_EXPLICIT_STORAGE_H_
41 template<
class SimplexTree>
42 class Simplex_tree_node_explicit_storage {
44 typedef typename SimplexTree::Siblings Siblings;
45 typedef typename SimplexTree::Filtration_value Filtration_value;
46 typedef typename SimplexTree::Simplex_key Simplex_key;
49 Simplex_tree_node_explicit_storage()
55 Simplex_tree_node_explicit_storage(Siblings * sib,
56 Filtration_value filtration)
59 filtration_(filtration) {
62 void assign_key(Simplex_key key) {
69 void assign_children(Siblings * children) {
75 void assign_filtration(
double filtration_value) {
76 filtration_ = filtration_value;
79 Filtration_value filtration() {
84 Siblings * children() {
96 Simplex_key simplex_key_;
97 Filtration_value filtration_;
103 #endif // SRC_SIMPLEX_TREE_INCLUDE_GUDHI_SIMPLEX_TREE_SIMPLEX_TREE_NODE_EXPLICIT_STORAGE_H_