Python:实现graph matrix图矩阵算法 class Graph: def __init__(self, vertex): self.vertex = vertex self.graph = [[0