SimpleCycleBasis { public SimpleCycleBasis(List<SimpleCycle> cycles, List edgeList, UndirectedGraph graph) { this.edgeList = edgeList; this.cycles = cycles; this.graph = graph; edgeIndexMap = createEdgeIndexMap(edgeList); } SimpleCycleBasis(List<SimpleCycle> cycles, List edgeList, UndirectedGraph graph);  SimpleCycleBasis(UndirectedGraph graph); int[] weightVector(); List edges(); List cycles(); Collection essentialCycles(); Map relevantCycles(); List equivalenceClasses(); void printIncidenceMatrix();  }
@Test public void testSimpleCycleBasis() { Assert.assertTrue(basis.cycles().size() == g.edgeSet().size() - g.vertexSet().size() + 1); }