码迷,mamicode.com
首页 >  
搜索关键字:graph    ( 3642个结果
邻接矩阵存储的图
java实现用邻接矩阵(相邻矩阵)实现图,缺点是矩阵中大量的0元素会耗费大量的存储空间 public class Graph { final int MAX_VERTEX = 10;// 最多10个顶点 Vertex[] vertex;// 顶点数组 int[][] adjacency;// 邻接矩阵 int numOfVertex;// 当前图...
分类:其他好文   时间:2014-06-20 12:12:49    阅读次数:207
人人网 网站接入总结
人人网的文档写的真的和屎一样,根本就不用那么复杂1.申请 APP key 和 secret key 网址:http://dev.renren.com/2.点击网页上的按钮,跳转到http://graph.renren.com/oauth/authorize?response_type=code&cl...
分类:Web程序   时间:2014-06-11 09:35:36    阅读次数:427
pgm7
和 Koller 的 video 最大的不同莫过于书上讲 LBP 的角度不是 procedural 的,而是原理性的。我们先看个 procedural 的,在一般的 cluster graph 上的 BP 改进版即 loopy belief propagation 先将所有的 message 初始化...
分类:其他好文   时间:2014-06-08 23:16:00    阅读次数:302
图算法系列-图的简单实现
最近看了很多介绍图算法的文章,发现网上可以搜到的资料比较少,所以打算在这写一个介绍图算法的系列文章,一方面是帮助自己整理,另一方面也给大家分享下这方面的知识。1.1图的定义: 图(graph)由顶点(vertex)和边(edge)的集合组成,每一条边就是一个点对(v,w)。图的种类:地图,电路图,调...
分类:其他好文   时间:2014-06-07 06:13:29    阅读次数:305
毕业设计-6-3
GPS(Graph Processing System),java.lang.OutOfMemoryError: Java heap space,Rdflib,No handlers could be found for logger "rdflib.term"does not look like ...
分类:其他好文   时间:2014-06-06 17:37:26    阅读次数:348
struts2学习笔记(7)------------ognl表达式
OGNL表达式(Object-Graph Navigation Language),大概可以理解为:对象图形化导航语言。是一种可以方便地操作对象属性的开源表达式语言。...
分类:其他好文   时间:2014-06-02 23:23:28    阅读次数:304
BFS判断是否是二分图Bipartite算法
二分图bipartite 使用BFS广度优先判断一个图是否是二分图。基本图操作。 参考 http://www.geeksforgeeks.org/bipartite-graph/ #pragma once #include #include #include using namespace std; class CheckwhetheragivengraphisBipa...
分类:其他好文   时间:2014-06-01 15:03:24    阅读次数:288
[CC150] Find a line passing the most number of points
Problem: Given a two-dimensional graph with points on it, find a line which passes the most number of points.此题是Cracking the code 5th edition 第七章第六题,思...
分类:其他好文   时间:2014-05-29 08:10:38    阅读次数:292
Introduction to Bode Plot 波特图入门
Introduction to Bode Plot 神马东东是波特图?                  A Bode plot /?bo?di/ is a graph of the transfer function of a linear, time-invariant system versusfrequency, plotted with a log-fre...
分类:其他好文   时间:2014-05-26 05:32:15    阅读次数:301
Graph(2014辽宁ACM省赛)
日之前点击链接进行网上报名,只有报名成功的同学才能参加选拔赛。 问题 F: Graph 时间限制: 1 Sec  内存限制: 128 MB 提交: 30  解决: 5 [提交][状态][论坛] 题目描述 Your task is to judge whether a regular polygon can be drawn only by straightedge...
分类:其他好文   时间:2014-05-26 05:29:16    阅读次数:389
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!