SSSRFinder { public IRingSet findRelevantRings() { if (atomContainer == null) { return null; } IRingSet ringSet = toRingSet(atomContainer, cycleBasis().relevantCycles().keySet()); return ringSet; } SSSRFinder(IAtomContainer container); IRingSet findSSSR(); IRingSet findEssentialRings(); IRingSet findRelevantRings(); List findEquivalenceClasses(); int[] getSSSRWeightVector(); int[] getEquivalenceClassesSizeVector();  }
@Category(SlowTest.class) @Test public void testBuckyballRelevantRings() throws Exception { IAtomContainer buckyball = createBuckyBall(); IRingSet ringSetRelevant = new SSSRFinder(buckyball).findRelevantRings(); ringCount(ringSetRelevant, 6, 20); ringCount(ringSetRelevant, 5, 12); Assert.assertFalse("Duplicate rings exist", checkForDuplicateRingsInSet(ringSetRelevant)); }