- /** Print birth and death information in the persistence diagrams. */
- void interpret_persistence(std::ostream &os) const {
+ /** Print birth and death information in the persistence diagrams. If a
+ * non-NULL simplicial function is given, also the persistence w.r.t.
+ * this function is printed. */
+ template<class VT>
+ void interpret_persistence(std::ostream &os, simplicial_function<MAXDIM, IT, VT> *f) const {