11 2014 档案

摘要:#A Auto-Visit Web Site Toolimport urllibimport timeimport randomprint "Auto Click the WebPage for Click-Num..."for i in range(30): fs = urllib.urlo... 阅读全文
posted @ 2014-11-25 22:08 wangyaning 阅读(1254) 评论(0) 推荐(0)
摘要:代码如下:// disparity_to_3d_reconstruction.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"//Huang,Haiqiao coded on Dec.2009代码出处://http://www.opencv.org.cn/forum... 阅读全文
posted @ 2014-11-23 15:19 wangyaning 阅读(2322) 评论(0) 推荐(0)
摘要:代码来自:http://blog.csdn.net/v_JULY_v算法思想:// Quick_select.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include using namespace std;const int num_ar... 阅读全文
posted @ 2014-11-22 21:51 wangyaning 阅读(623) 评论(0) 推荐(0)
摘要:代码来自:http://blog.csdn.net/v_JULY_v//得9 分//为了实现链式操作,将目的地址返回,加2 分!char * strcpy( char *strDest, const char *strSrc ){assert( (strDest != NULL) && (strSr... 阅读全文
posted @ 2014-11-22 21:32 wangyaning 阅读(213) 评论(0) 推荐(0)
摘要:glut下载地址: http://www.opengl.org/resources/libraries/glut/glutdlls37beta.zip或者:http://user.xmission.com/~nate/glut.html1. 把解压得到的glut.h放到"C:\Program Fil... 阅读全文
posted @ 2014-11-18 16:19 wangyaning 阅读(923) 评论(0) 推荐(0)
摘要:之前在网上也没有现成的代码,现在把库中的sample拿出来,分享下结合大牛的博客,好好学习下:http://blog.csdn.net/chenyusiyuan/article/details/5967291/* * stereo_match.cpp * calibration * * Cre... 阅读全文
posted @ 2014-11-16 22:47 wangyaning 阅读(2058) 评论(0) 推荐(0)
摘要:代码有参考跟整合:没有一一列出出处// split_rgb.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include "opencv2/core/core.hpp"#include "opencv2/highgui/hig... 阅读全文
posted @ 2014-11-15 22:44 wangyaning 阅读(410) 评论(0) 推荐(0)
摘要:代码来自:http://blog.csdn.net/v_JULY_v#include "StdAfx.h"#include using namespace std;void GetNextval(char* p, int* next){ int pLen = strlen(p); next[0] =... 阅读全文
posted @ 2014-11-13 22:52 wangyaning 阅读(228) 评论(0) 推荐(0)
摘要:今天台式机插着无线网卡连接学校无线网,结果就要登录了,完后ip地址固定半天,换了mac地址重新分配还是不能改,ping了主机也不通,我想可能是dns没有刷新。现在收集几个dos命令用来配置网络:1.ipconfig/release使计算机将自己目前租用的IP地址交还给DHCP服务器(只在动态配置IP... 阅读全文
posted @ 2014-11-12 22:02 wangyaning 阅读(412) 评论(0) 推荐(0)
摘要:写日志:class LogFile{public: static LogFile &instance(); operator FILE *() const { return m_file; }private LogFile(const char *filename) { m_file... 阅读全文
posted @ 2014-11-06 20:45 wangyaning 阅读(280) 评论(0) 推荐(0)
摘要:图割论文大合集下载:http://download.csdn.net/detail/wangyaninglm/8292305代码:/* graph.h *//* Vladimir Kolmogorov (vnk@cs.cornell.edu), 2001. *//* This software li... 阅读全文
posted @ 2014-11-02 22:52 wangyaning 阅读(2137) 评论(0) 推荐(0)
摘要:表达式求值[问题描述]一个算术表达式是由操作数(operand)、运算符(operator)和界限符(delimiter)组成的。假设操作数是正整数,运算符只含加减乘除等四种运算符,界限符有左右括号和表达式起始、结束符“#”,如:#(7+15)*(23-28/4)#。引入表达式起始、结束符是为了方便... 阅读全文
posted @ 2014-11-02 20:46 wangyaning 阅读(3632) 评论(0) 推荐(0)
摘要:1.相对于能量函数来说,能量最小化的办法都有哪些? 梯度下降 模拟退火 图割2.这个 跟最优化问题的求解,有什么联系跟区别呢?基本上差不多,其实就是求出来了函数的一个最小值,我们看问题的时候不妨把能量二字去掉。单纯的理解为函数3.这个能量的观点是否跟信息熵类似,让系统的熵最小?其实也都差不多,都是求... 阅读全文
posted @ 2014-11-01 22:36 wangyaning 阅读(1143) 评论(0) 推荐(0)
摘要:Dijkstra(迪杰斯特拉)算法是典型的最短路径路由算法,用于计算一个节点到其他所有节点的最短路径。主要特点是以起始点为中心向外层层扩展,直到扩展到终点为止。Dijkstra算法能得出最短路径的最优解,但由于它遍历计算的节点很多,所以效率低。 Dijkstra算法是很有代表性的最短路算法,在很多... 阅读全文
posted @ 2014-11-01 21:32 wangyaning 阅读(7978) 评论(0) 推荐(0)