关于算法:如何使用Java查找图的中心(顶点,顶点相互连接,但边指向图的中心)

how to Find the center of graph (vertex, that is connected with every other vertex, but edges are directed to the center of graph) with java

如何使用Java查找图的中心(顶点,该顶点与其他每个顶点相连,但边指向图的中心)。它对Facebook之类的站点非常有用。