Class MaximalCliqueExample

java.lang.Object
org.graph4j.examples.MaximalCliqueExample

public class MaximalCliqueExample extends Object
Consider a social network formed by persons (instances of the class Person), each person being friends with other persons (the relationship is symmetrical). The problem is to find maximal cliques, that is maximal groups of persons that all know each other. Since there may be an exponential number of maximal cliques, a certain limit or timeout should be imposed.
Author:
Cristian Frăsinaru
  • Constructor Details

    • MaximalCliqueExample

      public MaximalCliqueExample()
  • Method Details

    • main

      public static void main(String[] args)