搜索资源列表
shujujiegou
- 对任意给定的图(顶点数不小于20,边数不少于30,图的类型可以是有向图、无向图、有向网、无向网),能够输入图的顶点和边(或弧)的信息,并存储到相应存储结构(邻接矩阵、邻接表、十字链表、邻接多重表,任选其中两种类型),对自己所创建的图完成以下操作: -For any given map (not less than 20 vertices, edges not less than 30, the type of map can be a directed graph, undirected g
example
- 常见java数据结构的使用方法,包括Arrays类Collections类HashSet类List类TreeSet类Map类Vector类-Java data structures commonly used methods, including Arrays Class Collections category HashSet Class List Class TreeSet Class Map type Vector Class
Without-the-adjlink-to-map
- 从键盘输入无向图G的顶点个数v及边的个数e。建立有v个顶点、e条边构成的无向图G,采用邻接矩阵表示。V个顶点的值由键盘输入,元素类型为字符型。e条边的信息也由键盘输入。分别调用图的深度优先搜索、广度优先搜索图并输出相应的遍历序列。-Input from the keyboard without the number of vertices to the graph G v and the number of edges e. Establishment of a v vertices, e ed
