如何判断稠密图和稀疏图??

用n表示图中顶点数目,用e表示图中边或弧的数目

稀疏图: e < nlogn

稠密图: e > nlogn

猜你喜欢

转载自blog.csdn.net/weixin_43537097/article/details/129424816