码迷,mamicode.com
首页 >  
搜索关键字:spanning-tree    ( 161个结果
UVAlive3662 Another Minimum Spanning Tree 莫队算法
就是莫队的模板题/*Memory: 0 KB Time: 1663 MSLanguage: C++11 4.8.2 Result: Accepted*/#include#include#include#include#include#includeusing namesp...
分类:编程语言   时间:2015-12-19 20:22:43    阅读次数:192
POJ 3241 曼哈顿最小生成树
感觉讲解,写的非常详细,http://blog.csdn.net/huzecong/article/details/8576908重点是一个定理:Hint For the graph on the right, there exists a minimum spanning tree in whic...
分类:其他好文   时间:2015-10-09 13:54:41    阅读次数:215
UVALive 3662 Another Minimum Spanning Tree
同poj3241#include#include#define N 100010#define INF 0x3f3f3f3f#define LL long longusing namespace std;struct point{ int x,y,id; bool operator0) ...
分类:其他好文   时间:2015-10-09 13:50:44    阅读次数:209
数据结构:最小生成树--Prim算法
最小生成树:Prim算法最小生成树 给定一无向带权图。顶点数是n,要使图连通仅仅需n-1条边。若这n-1条边的权值和最小,则称有这n个顶点和n-1条边构成了图的最小生成树(minimum-cost spanning tree)。Prim算法 Prim算法是解决最小生成树的经常...
分类:编程语言   时间:2015-09-23 14:47:28    阅读次数:240
Lab - Modify Default Spanning Tree Behavior
Modify Default Spanning Tree BehaviorTopologyObjectiveobserve what happens when the default spanning tree behavior is modified.BackgroundFour switches...
分类:其他好文   时间:2015-09-03 17:54:33    阅读次数:282
Lab - Per-VLAN Spanning Tree Behavior
Per-VLAN Spanning Tree BehaviorTopologyObjectives:Observe the behavior of a separate spanning tree instance per VLAN.Change spanning tree mode to rapi...
分类:其他好文   时间:2015-09-03 17:53:03    阅读次数:193
Lab - Multiple Spanning Tree
Multiple Spanning TreeTopologyObjectiveObsrve te behavior of Multiple Spanning Tree(MST)BackgroundFour switches have just been installed. The distribu...
分类:其他好文   时间:2015-09-03 16:28:39    阅读次数:192
poj 1679 The Unique MST
题目连接http://poj.org/problem?id=1679The Unique MSTDescriptionGiven a connected undirected graph, tell if its minimum spanning tree is unique.Definition ...
分类:其他好文   时间:2015-08-31 16:52:10    阅读次数:123
最小生成树之Kruskal算法
给定一个无向图,如果它任意两个顶点都联通并且是一棵树,那么我们就称之为生成树(Spanning Tree)。如果是带权值的无向图,那么权值之和最小的生成树,我们就称之为最小生成树(MST, Minimum Spanning Tree)。         我们由最小生成树的定义,可以延伸出一个修建道路的问题:把无向图的每个顶点看作村庄,计划修建道路使得可以在所有村庄之间通行。把每个村庄之间修建...
分类:编程语言   时间:2015-08-18 09:08:42    阅读次数:159
POJ 1679 The Unique MST(判断最小生成树_Kruskal)
Description Given a connected undirected graph, tell if its minimum spanning tree is unique.  Definition 1 (Spanning Tree): Consider a connected, undirected graph G = (V, E). A spanning tree o...
分类:其他好文   时间:2015-08-17 17:24:13    阅读次数:104
161条   上一页 1 ... 10 11 12 13 14 ... 17 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!