由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
CS版 - 一道graph的问题求教!(from MIT Intro to Algo)
相关主题
请问一个图的分解问题Question about Bipartite Graphs
A probability probelm about graph (network)这个问题怎么做好?(word sqaure)
data structure for set of path in a graph (转载)Dynamic programming 如果要求限制次数如何解
DAG questionHow to efficiently enumerate triangles in a large network?
Re: 请教一个 graph connectivity 的问题TSP for a special graph
请问什么是quotient graph?请教directed acyclic graph
问graph问题请推荐几个大的 graph dataset
一个大数据 处理问题graph question: what is "genus" ? (转载)
相关话题的讨论汇总
话题: graph话题: vertices话题: now话题: directed话题: weight
进入CS版参与讨论
1 (共1页)
g****p
发帖数: 94
1
Let G = (V, E) be a weighted, directed graph with weight function w : E → {
1, 2, ..., W } for some positive integer W , and assume that no two vertices
have the same shortest-path weights from source vertex s. Now suppose that
we define an unweighted, directed graph G' = (V ∪ V', E') by replacing each
edge (u, v) ∈ E with w(u, v) unit-weight edges in series.
Questions:
1. How many vertices does G' have?
2. Now suppose that we run a breadth-first search on G'. Show that the order
in which vertic
s***e
发帖数: 284
2
*-----2------*
u v
转换成
*------------*------------*
u u1 v
权重是多少,G'就变成多少条边

{
vertices
that
each
order
'
p

【在 g****p 的大作中提到】
: Let G = (V, E) be a weighted, directed graph with weight function w : E → {
: 1, 2, ..., W } for some positive integer W , and assume that no two vertices
: have the same shortest-path weights from source vertex s. Now suppose that
: we define an unweighted, directed graph G' = (V ∪ V', E') by replacing each
: edge (u, v) ∈ E with w(u, v) unit-weight edges in series.
: Questions:
: 1. How many vertices does G' have?
: 2. Now suppose that we run a breadth-first search on G'. Show that the order
: in which vertic

g*********e
发帖数: 42
3
这个weight function是怎么定义的,如果不是 one to one的,
第一题怎么解呀
1 (共1页)
进入CS版参与讨论
相关主题
graph question: what is "genus" ? (转载)Re: 请教一个 graph connectivity 的问题
BFS请问什么是quotient graph?
CS Algo Question问graph问题
who will go to algo 2005?一个大数据 处理问题
请问一个图的分解问题Question about Bipartite Graphs
A probability probelm about graph (network)这个问题怎么做好?(word sqaure)
data structure for set of path in a graph (转载)Dynamic programming 如果要求限制次数如何解
DAG questionHow to efficiently enumerate triangles in a large network?
相关话题的讨论汇总
话题: graph话题: vertices话题: now话题: directed话题: weight