Annotating Simplices with a Homology Basis and Its Applications
arXiv:1107.3793
Abstract
Let be a simplicial complex and the rank of its -th homology group defined with coefficients. We show that we can compute a basis of and annotate each -simplex of with a binary vector of length with the following property: the annotations, summed over all -simplices in any -cycle , provide the coordinate vector of the homology class in the basis . The basis and the annotations for all simplices can be computed in time, where is the size of and is a quantity so that two matrices can be multiplied in time. The pre-computation of annotations permits answering queries about the independence or the triviality of -cycles efficiently. Using annotations of edges in 2-complexes, we derive better algorithms for computing optimal basis and optimal homologous cycles in 1-dimensional homology. Specifically, for computing an optimal basis of , we improve the time complexity known for the problem from to . Here denotes the size of the 2-skeleton of and the rank of . Computing an optimal cycle homologous to a given 1-cycle is NP-hard even for surfaces and an algorithm taking time is known for surfaces. We extend this algorithm to work with arbitrary 2-complexes in time using annotations.