#include <iostream>
 
 
 
int main() {
  std::clog << "********* Minimalistic example of usage of the Filtered_zigzag_persistence class ********" << std::endl;
 
  
    std::cout << "[" << dim << "] " << birth << " - " << death << std::endl;
  });
 
  
  
  
  
 
  
  
  zp.insert_cell(4, {}, 0, 0.1);
  
  zp.insert_cell(5, {2, 4}, 1, 0.3);
  
  zp.insert_cell(3, {}, 0, 0.4);
  
  zp.insert_cell(6, {2, 3}, 1, 0.4);
  
  zp.insert_cell(9, {4, 3}, 1, 1.2);
  
  zp.remove_cell(6, 1.5);
  
  zp.remove_cell(5, 2.0);
 
  
 
  
    std::cout << "[" << dim << "] " << birth << " - inf" << std::endl;
  });
 
  return 0;
}
Class computing the zigzag persistent homology of a zigzag filtration. Algorithm based on .
Definition: filtered_zigzag_persistence.h:442
 
typename Options::Filtration_value Filtration_value
Definition: filtered_zigzag_persistence.h:447
 
typename Options::Dimension Dimension
Definition: filtered_zigzag_persistence.h:448
 
Internal_key insert_cell(Cell_key cellID, const BoundaryRange &boundary, Dimension dimension, Filtration_value filtrationValue)
Updates the zigzag persistence diagram after the insertion of the given cell.
Definition: filtered_zigzag_persistence.h:498
 
Contains the implementation of the Gudhi::zigzag_persistence::Default_filtered_zigzag_options structu...
 
Value type for a filtration function on a cell complex.
Definition: FiltrationValue.h:20