摘要: 图类的构建 function Graph(v) {this.vertices = v;this.edges = 0;this.adj = []; for (var i = 0; i < this.vertices; ++i) { this.adj[i] = []; this.adj[i].push( 阅读全文
posted @ 2017-04-09 16:21 卡迪斯上小学 阅读(1993) 评论(0) 推荐(0) 编辑