Algorithms for finding a fundamental set of cycles for an undirected linear graph | Synapse