The Singleton PatternThe Singleton pattern is thus known because it restricts instantiation of a class to a single object. Classically, the Singleton ...
分类:
编程语言 时间:
2014-09-29 02:54:37
阅读次数:
360
The Module PatternModulesModules are an integral piece of any robust application's architecture and typically help in keeping the units of code for a ...
分类:
编程语言 时间:
2014-09-28 23:04:55
阅读次数:
275
In classical object-oriented programming languages, a constructor is a special method used to initialize a newly created object once memory has been a...
分类:
编程语言 时间:
2014-09-28 22:56:05
阅读次数:
213
要解决的问题,频繁项集 最暴力的方法,就是遍历所有的项集组合,当然计算量过大 最典型的算法apriori, 算法核心思想,当一个集合不是频繁项集,那么它的超集也一定不是频繁项集 这个结论是很明显的,基于这样的思路,可以大大减少频繁项集的候选项 因为你只要发现一个集合非频繁项集,那么他所有的超集都可以...
分类:
其他好文 时间:
2014-09-28 15:27:22
阅读次数:
346
运行命令:regedit 找到 HKEY_LOCAL_MACHINE ?-> SYSTEM -> CurrentControlSet -> Keyboard Layout 这里新添加2进制文件 Scancode Map 把值设定为: 0000????00????00????00????00????00??...
Basic Knowlege points:1: it's necessary that there is only one public class in per .java file2: .java file name should better to same as class name3: ...
分类:
编程语言 时间:
2014-09-28 13:23:52
阅读次数:
313
1. uname -ayou will view kernel name、network node hostname、kernel release、kernel version、machine hardware name、processor type 、hardware platform、oper....
分类:
系统相关 时间:
2014-09-28 03:12:30
阅读次数:
295
对于一个concept class C,如果存在一个算法A和一个多项式poly(.,.,.,.),有对于任意的ε>0、δ>0以及X的任意分布D和任何target concept C,当sample size m>=poly(1/ε,1/δ,n,size(c))时,不等式: 都成立,那么就说这个con...
分类:
其他好文 时间:
2014-09-27 16:12:20
阅读次数:
297
1、HKEY_LOCAL_MACHINE,包含了操作系统及硬件相关信息的配置单元,是一个公共配置信息,与具体用户无关。2、HKEY_CURRENT_USER,包含着当前登录到这个注册表服务的计算机上的用户的配置文件,其子项包含着环境变量、个人程序组、桌面设置、网络连接、打印机和应用程序首选项。该字段...
分类:
其他好文 时间:
2014-09-27 15:51:09
阅读次数:
145
Last night , I attended writting examination for Bai Du,There is a problem, ask us implement a state machine to deleting the comments in c,I don't k.....
分类:
编程语言 时间:
2014-09-27 10:43:39
阅读次数:
178