### Question:
GraphKMedoids implements Clusterer<L> { @Override public Classified<Node<L>> cluster(Graph<L> graph) { FloydWarshall<L> fw = new FloydWarshall<L>(graph); List<Node<L>> nodes = (List<Node<L>>) graph.nodes(); KMedioids<Node<L>> meds = new KMedioids<Node<L>>(nodes, fw, k); meds.iterate(ITS); return meds.clustered(); } GraphKMedoids();  GraphKMedoids(int k); @Override Classified<Node<L>> cluster(Graph<L> graph);  }### Answer:
@Test public void testCluster() { Graph<String> graph = Graphs.jbc(); Clusterer<String> clusterer = new GraphKMedoids<String>(3); System.out.println(clusterer.cluster(graph)); }