支配集# 用于计算图中支配集的函数。 dominating_set(G[, start_with]) 查找图 G 的一个支配集。 is_dominating_set(G, nbunch) 检查 nbunch 是否是图 G 的一个支配集。