求教:强连通分量算法题,哪位大神可以帮忙解答,在线等

qq_41695105 2020-04-19 12:43:54
Let G=(V,E) be a directed graph. Answer the following questions with respect to the Strongly Connected Components(SCCs) of G.
1.What is an upper bound on the number of SCCs of G in the terms of n?
2.Suppose that an edge e=(u,v) is added to G. What is an upper bound on the change in the number of SCCs of G?
3.Suppose now that an edge e=(u,v) in G is deleted from G. What is an upper bound on the change in the number of SCCs of G?
4.  Find a directed gragh G'' that has the same SCCs as that of G but G'' has the least possible number of edges. In other words, the SCCs of G and G'' have the same set of vertices. You may describe the structure of G'' to start with Design an algorithm to output such a G'' and also mention the run time of your algorithm. Is G'' always a subgraph of G''?
...全文
102 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_41695105 2020-04-19
  • 打赏
  • 举报
回复
哪位大神可以帮忙解答,在线等。

33,010

社区成员

发帖
与我相关
我的任务
社区描述
数据结构与算法相关内容讨论专区
社区管理员
  • 数据结构与算法社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧