test_class.file: singa-structure/src/test/java/bio/singa/structure/algorithms/molecules/MoleculeRingFinderTest.java
test_class.identifier: MoleculeRingFinderTest
test_case.body: @Test
      void findRingsInMolecule() {
          List<LeafSubstructure<?>> targetLeafSubstructure = StructureParser.local()
                  .fileLocation(Resources.getResourceAsFileLocation("atp.pdb"))
                  .parse().getAllLeafSubstructures();
          MoleculeGraph moleculeGraph = MoleculeGraphs.createMoleculeGraphFromStructure((OakLeafSubstructure<?>) targetLeafSubstructure.get(0));
          List<Set<MoleculeAtom>> rings = MoleculeRingFinder.of(moleculeGraph);
          assertEquals(3, rings.size());
          assertEquals(5, rings.get(0).size());
          assertEquals(5, rings.get(1).size());
          assertEquals(6, rings.get(2).size());
      }
test_case.class_method_signature: MoleculeRingFinderTest.findRingsInMolecule()
test_case.full_signature: @Test void findRingsInMolecule()
test_case.identifier: findRingsInMolecule
test_case.invocations: getAllLeafSubstructures parse fileLocation local getResourceAsFileLocation createMoleculeGraphFromStructure get of assertEquals size assertEquals size get assertEquals size get assertEquals size get
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void findRingsInMolecule()
focal_class.declarator: moleculeGraph
focal_class.modifier: private final
focal_class.original_string: private final MoleculeGraph moleculeGraph;
focal_class.type: MoleculeGraph
focal_class.var_name: moleculeGraph
focal_class.declarator: ringFinder
focal_class.modifier: private
focal_class.original_string: private SmallestSetOfSmallestRingsFinder<MoleculeAtom, MoleculeBond, Vector2D, Integer, MoleculeGraph> ringFinder;
focal_class.type: SmallestSetOfSmallestRingsFinder<MoleculeAtom, MoleculeBond, Vector2D, Integer, MoleculeGraph>
focal_class.var_name: ringFinder
focal_class.file: singa-structure/src/main/java/bio/singa/structure/algorithms/molecules/MoleculeRingFinder.java
focal_class.identifier: MoleculeRingFinder
focal_class.class_method_signature: MoleculeRingFinder.MoleculeRingFinder(MoleculeGraph moleculeGraph)
focal_class.full_signature: private  MoleculeRingFinder(MoleculeGraph moleculeGraph)
focal_class.identifier: MoleculeRingFinder
focal_class.modifiers: private
focal_class.parameters: (MoleculeGraph moleculeGraph)
focal_class.signature:  MoleculeRingFinder(MoleculeGraph moleculeGraph)
focal_class.class_method_signature: MoleculeRingFinder.of(MoleculeGraph moleculeGraph)
focal_class.full_signature: public static List<Set<MoleculeAtom>> of(MoleculeGraph moleculeGraph)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (MoleculeGraph moleculeGraph)
focal_class.return: List<Set<MoleculeAtom>>
focal_class.signature: List<Set<MoleculeAtom>> of(MoleculeGraph moleculeGraph)
focal_class.class_method_signature: MoleculeRingFinder.findRings()
focal_class.full_signature: private void findRings()
focal_class.identifier: findRings
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void findRings()
focal_class.class_method_signature: MoleculeRingFinder.getRings()
focal_class.full_signature: private List<Set<MoleculeAtom>> getRings()
focal_class.identifier: getRings
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: List<Set<MoleculeAtom>>
focal_class.signature: List<Set<MoleculeAtom>> getRings()
focal_method.body: public static List<Set<MoleculeAtom>> of(MoleculeGraph moleculeGraph) {
          MoleculeRingFinder moleculeRingFinder = new MoleculeRingFinder(moleculeGraph);
          return moleculeRingFinder.getRings();
      }
focal_method.class_method_signature: MoleculeRingFinder.of(MoleculeGraph moleculeGraph)
focal_method.full_signature: public static List<Set<MoleculeAtom>> of(MoleculeGraph moleculeGraph)
focal_method.identifier: of
focal_method.invocations: getRings
focal_method.modifiers: public static
focal_method.parameters: (MoleculeGraph moleculeGraph)
focal_method.return: List<Set<MoleculeAtom>>
focal_method.signature: List<Set<MoleculeAtom>> of(MoleculeGraph moleculeGraph)