Algorithms API Wrappers Bayesian Nets Compression Containers Graph Tools Image Processing Linear Algebra Machine Learning Metaprogramming Miscellaneou ...
分类:
其他好文 时间:
2017-03-17 20:45:07
阅读次数:
209
在写BFS的时候,经常会用到queue来标记需要验证的点(即由上一层而关联的各个点,就是所谓的灰色的点。黑色的点是queue最上面的那个点,就是正在被process会被poll出来那个)。然后辅助一个hash来记录是否已经visit过这个node。 ...
分类:
其他好文 时间:
2017-03-17 12:26:35
阅读次数:
194
Useful Links for Explanation: http://www.programcreek.com/2012/12/leetcode-clone-graph-java/ http://www.cnblogs.com/springfor/p/3874591.html 这道题可以用BFS ...
分类:
其他好文 时间:
2017-03-17 12:14:19
阅读次数:
143
查看历史,列出历史提交记录gitlog命令行输出查看历史记录的简洁的版本gitlog--oneline命令行输出用--graph选项,查看历史中什么时候出现了分支、合并gitlog--oneline--graph命令行输出用‘--reverse‘参数来逆向显示所有日志gitlog--reverse--oneline命令行输出查找指定用户的提..
分类:
其他好文 时间:
2017-03-16 22:34:29
阅读次数:
181
linux下这些字段直接就装好了 mac下 brew install ghostscript 这样就好了 可是Windows就是不成功,因为字体找不到,默认的目录天知道在哪。。 总之 1、网上下一个n019003l.pfp文件,放在你自己的字体文件夹里,我直接放在C:\font文件夹下了 2、找到G ...
分类:
Windows程序 时间:
2017-03-15 17:32:09
阅读次数:
2023
Counting on a directed graph Problem Code: GRAPHCNT Counting on a directed graph Problem Code: GRAPHCNT Counting on a directed graph Problem Code: GRA ...
分类:
其他好文 时间:
2017-03-15 11:31:46
阅读次数:
234
作业内容: Use the following method printPrimes() for questions a–f below. 代码如下: 要求: (a) Draw the control ?ow graph for the printPrimes() method. (b) Consi ...
分类:
其他好文 时间:
2017-03-15 00:36:17
阅读次数:
258
OGNL是Object-Graph Navigation Language的缩写,是一种功能强大的表达式语言。 OGNL的引入 1.ognl访问数据,以下将几种获取方式做了示例: Action类 JSP页面 显示结果 2.ognl访问复杂对象: Action类 JSP页面 显示结果: 2.ognl访 ...
分类:
其他好文 时间:
2017-03-14 23:49:16
阅读次数:
275
在IIS上部署后台管理系统,添加功能,检测某个记录的红包领取状态,这时,需要与微信进行实时通今博信,但在添加项目后,可能出现下面的黄屏错误,说你的证书文件有问题 System.Security.Cryptography.CryptographicException: IIS设置错误,未加载用户配置文 ...
分类:
微信 时间:
2017-03-14 12:17:53
阅读次数:
317
一、运行效果图 二、工程结构 三、自定义PopWindow 代码: package com.example.custompopdemo; import android.app.Activity; import android.content.Context; import android.graph ...