{'fraction_non_alphanumeric': 0.03217821782178218, 'fraction_numerical': 0.004331683168316832, 'mean_word_length': 4.653846153846154, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Computing Height Persistence and Homology Generators in ℝ3 Efficiently

Recently it has been shown that computing the dimension of the first homology group H1(K) of a simplicial 2-complex K embedded linearly in R is as hard as computing the rank of a sparse 0 − 1 matrix. This puts a major roadblock to computing persistence and a homology basis (generators) for complexes embedded in R and beyond in less than quadratic or even near-quadratic time. But, what about dimension three? It is known that when K is a graph or a surface with n simplices linearly embedded in R, the persistence for piecewise linear functions on K can be computed in O(n log n) time and a set of generators of total size k can be computed in O(n+ k) time . However, the question for general simplicial complexes K linearly embedded in R is not completely settled. No algorithm with a complexity better than that of the matrix multiplication is known for this important case. We show that the persistence for height functions on such complexes, hence called height persistence, can be computed in O(n log n) time. This allows us to compute a basis (generators) of Hi(K), i = 1, 2, in O(n log n+ k) time where k is the size of the output. This improves significantly the current best bound of O(n), ω being the exponent of matrix multiplication. We achieve these improved bounds by leveraging recent results on zigzag persistence in computational topology, new observations about Reeb graphs, and some efficient geometric data structures. ∗Department of Computer Science and Engineering, The Ohio State University. tamaldey@cse.ohio-state.edu