test_class.declarator: testGraph1
test_class.modifier: private static
test_class.original_string: private static GenericGraph<Integer> testGraph1;
test_class.type: GenericGraph<Integer>
test_class.var_name: testGraph1
test_class.declarator: testGraph2
test_class.modifier: private static
test_class.original_string: private static GenericGraph<Integer> testGraph2;
test_class.type: GenericGraph<Integer>
test_class.var_name: testGraph2
test_class.file: singa-mathematics/src/test/java/bio/singa/mathematics/algorithms/graphs/BronKerboschTest.java
test_class.identifier: BronKerboschTest
test_case.body: @Test
      void findMaximumCliques() {
          BronKerbosch<GenericNode<Integer>, GenericEdge<Integer>, Vector2D, Integer, GenericGraph<Integer>> bronKerbosch = new BronKerbosch<>(testGraph2);
          List<Set<GenericNode<Integer>>> maximumCliques = bronKerbosch.getMaximumCliques();
          assertEquals(maximumCliques.get(0), Stream.of(testGraph2.getNodeWithContent(1).get(), testGraph2.getNodeWithContent(2).get(), testGraph2.getNodeWithContent(5).get()).collect(Collectors.toSet()));
          assertEquals(maximumCliques.get(1), Stream.of(testGraph2.getNodeWithContent(2).get(), testGraph2.getNodeWithContent(3).get(), testGraph2.getNodeWithContent(5).get()).collect(Collectors.toSet()));
          assertEquals(maximumCliques.get(2), Stream.of(testGraph2.getNodeWithContent(3).get(), testGraph2.getNodeWithContent(4).get(), testGraph2.getNodeWithContent(5).get()).collect(Collectors.toSet()));
      }
test_case.class_method_signature: BronKerboschTest.findMaximumCliques()
test_case.full_signature: @Test void findMaximumCliques()
test_case.identifier: findMaximumCliques
test_case.invocations: getMaximumCliques assertEquals get collect of get getNodeWithContent get getNodeWithContent get getNodeWithContent toSet assertEquals get collect of get getNodeWithContent get getNodeWithContent get getNodeWithContent toSet assertEquals get collect of get getNodeWithContent get getNodeWithContent get getNodeWithContent toSet
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void findMaximumCliques()
focal_class.declarator: logger = LoggerFactory.getLogger(BronKerbosch.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(BronKerbosch.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: graph
focal_class.modifier: private final
focal_class.original_string: private final GraphType graph;
focal_class.type: GraphType
focal_class.var_name: graph
focal_class.declarator: cliques
focal_class.modifier: private
focal_class.original_string: private List<Set<NodeType>> cliques;
focal_class.type: List<Set<NodeType>>
focal_class.var_name: cliques
focal_class.file: singa-mathematics/src/main/java/bio/singa/mathematics/algorithms/graphs/BronKerbosch.java
focal_class.identifier: BronKerbosch
focal_class.class_method_signature: BronKerbosch.BronKerbosch(GraphType graph)
focal_class.full_signature: public  BronKerbosch(GraphType graph)
focal_class.identifier: BronKerbosch
focal_class.modifiers: public
focal_class.parameters: (GraphType graph)
focal_class.signature:  BronKerbosch(GraphType graph)
focal_class.class_method_signature: BronKerbosch.getCliques()
focal_class.full_signature: public List<Set<NodeType>> getCliques()
focal_class.identifier: getCliques
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Set<NodeType>>
focal_class.signature: List<Set<NodeType>> getCliques()
focal_class.class_method_signature: BronKerbosch.findCliques()
focal_class.full_signature: private void findCliques()
focal_class.identifier: findCliques
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void findCliques()
focal_class.class_method_signature: BronKerbosch.getMaximumCliques()
focal_class.full_signature: public List<Set<NodeType>> getMaximumCliques()
focal_class.identifier: getMaximumCliques
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Set<NodeType>>
focal_class.signature: List<Set<NodeType>> getMaximumCliques()
focal_class.class_method_signature: BronKerbosch.bronKerbosch(Set<NodeType> r, Set<NodeType> p, Set<NodeType> x)
focal_class.full_signature: private Set<NodeType> bronKerbosch(Set<NodeType> r, Set<NodeType> p, Set<NodeType> x)
focal_class.identifier: bronKerbosch
focal_class.modifiers: private
focal_class.parameters: (Set<NodeType> r, Set<NodeType> p, Set<NodeType> x)
focal_class.return: Set<NodeType>
focal_class.signature: Set<NodeType> bronKerbosch(Set<NodeType> r, Set<NodeType> p, Set<NodeType> x)
focal_method.body: public List<Set<NodeType>> getMaximumCliques() {
          int maximumCliqueSize = 0;
          List<Set<NodeType>> maximumCliques = new ArrayList<>();
          for (Set<NodeType> clique : cliques) {
              if (clique.size() >= maximumCliqueSize) {
                  if (clique.size() > maximumCliqueSize) {
                      maximumCliques.clear();
                  }
                  maximumCliques.add(clique);
                  maximumCliqueSize = clique.size();
              }
          }
          return maximumCliques;
      }
focal_method.class_method_signature: BronKerbosch.getMaximumCliques()
focal_method.full_signature: public List<Set<NodeType>> getMaximumCliques()
focal_method.identifier: getMaximumCliques
focal_method.invocations: size size clear add size
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<Set<NodeType>>
focal_method.signature: List<Set<NodeType>> getMaximumCliques()