graph.addNode();
graph.addNode();
graph.addNode();
graph.addNode();
graph.addNode();
graph.addNode();
graph.addNode();
MaximalWeightedClique maximalWeightedClique = new MaximalWeightedClique();
maximalWeightedClique.setGraph(graph);
TIntArrayList ans = maximalWeightedClique
.findMaximumWeightedClique(new double[] { 1, 1, 5, 1, 1, 1, 1 });