点击切换搜索课件文库搜索结果(3111)
文档格式:PDF 文档大小:177.21KB 文档页数:19
flow networks Definition. A flow network is a directed graph G=(, E)with two distinguished vertices:a source s and a sink t. Each edge(u, v)E E has a nonnegative capacity c(u, v). If(u, v) E, then c(u, v)=0 Example: c 2001 by Charles E Leiserson
文档格式:PDF 文档大小:171.45KB 文档页数:26
Recall from lecture 22 °Flow value:f=f(s,V) Cut: Any partition (S, T)of y such that s E S andt∈T Lemma. f=f(s, T) for any cut(S, T) Corollary. f(s, T) for any cut(S, T) Residual graph: The graph G=(v, ef) with strictly positive residual capacities c u, v) c(u,)-f(2y)>0
文档格式:PDF 文档大小:70.04KB 文档页数:2
麻省理工学院:《算法导论》(英文版) Lecture 21 Prof charles e. leiserson
文档格式:PDF 文档大小:159.83KB 文档页数:14
Shortest paths Single-source shortest paths nonnegative edge weights Dijkstra's algorithm: O(E+ vlg n General
文档格式:PDF 文档大小:297.74KB 文档页数:38
Paths in graphs Consider a digraph g=(v, E)with edge-weight function w:E→>R. The weight of path p=v1→ →>…→> vi is defined to be (D)=∑(n,1)
文档格式:PDF 文档大小:132.7KB 文档页数:13
Dynamic programming Design technique, like divide-and-conquer Example: Longest Common Subsequence (LCs) Given two sequences x[l.. m] and yll.n], find a longest subsequence common to them both a' not the
文档格式:PDF 文档大小:146.87KB 文档页数:23
Fixed -universe successor problem Goal: maintain a dynamic subset s of size n of the universe 0=10, 1,.,u-1 of size u subject to these operations INSERT(X∈U\\S): Add x to s DELETE(X E S): Remove x from S
文档格式:PDF 文档大小:227.41KB 文档页数:25
ynamic order statistics OS-SELECT(i, S): returns the i th smallest element in the dynamic set S. OS-RANK(, S): returns the rank ofx E S in the sorted order of s s elements IDEA: Use a red-black tree for the set S, but keep subtree sizes in the nodes
文档格式:PDF 文档大小:229.98KB 文档页数:34
Binary-search-tree sort 7∈ b Create an empty Bst for i=i to n do trEe-INSert(,AiD) Perform an inorder tree walk of t Example:
文档格式:PDF 文档大小:147.48KB 文档页数:24
Symbol-table problem Symbol table T holding n records
首页上页227228229230231232233234下页末页
热门关键字
搜索一下,找到相关课件或文库资源 3111 个  
©2008-现在 cucdc.com 高等教育资讯网 版权所有