| graph.addEdge(1, 2);
graph.addEdge(1, 3);
graph.addEdge(2, 3);
graph.addEdge(3, 4);
graph.addEdge(3, 5);
graph.addEdge(3, 6);
graph.addEdge(4, 5);
graph.addEdge(4, 6);
graph.addEdge(5, 6);
double[] weights = new double[] { 20, 10, 10, 10, 2, 11, 2, 1, 1 };
MaximalWeightedClique maximalWeightedClique = new MaximalWeightedClique();
|