https://blog.csdn.net/nyist_yangguang/article/details/113468345 一个图中,顶点数 n 边数 m 当>>m 时,我们称之为稀疏。 当m相对较大时,我们称之为稠密。