自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

yunjiali的专栏

我的IT技术足迹

  • 博客(4)
  • 资源 (2)
  • 收藏
  • 关注

原创 Open File and Open Path

 private string MyFileOpen() {     OpenFileDialog openFileDialog = new OpenFileDialog();            openFileDialog.Filter = "txt files (*.txt)|*.txt";            if (openFileDialog.ShowDialog() == Dia

2008-09-09 17:08:00 465

原创 Open and Read Word Document Using C#

In order to open word document in stead of text file:1. Add COM reference: "Microsoft Word 11.0 Object Library" and "Microsoft Office 11.0 object Library" (Im not sure which one is necessary yet.)2.

2008-09-06 19:46:00 722

原创 旅行售货员问题(回溯法搜索排列树)

 用回朔法解旅行售货员问题:解法1:建立一个无向完全图,根据图建立一颗排列树,用深度优先搜索排列树,找到最优解困难1:在建树的过程中,如何得知当前结点的祖先结点有哪些?(即如何得知哪些结点已经访问过)解决办法:每个树结点的都含有这样一个信息域,负责记录还没有访问过的结点集合。具体做法是在创建每个结点时,结点的这个信息域的值等于从其父节点的这个信息域的值集合中删除自身结点得到的集合。

2006-12-02 11:29:00 8934

原创 0-1背包问题(回朔法搜索子集树)

将解空间用一颗完全二叉树表示,用回朔法搜索这颗树:解法1:建立了一个完全二叉树(称子集树),结点中带有需要的信息,深度优先遍历这颗二叉树(递归方法),找到最优解。困难:如何记录当前的路径?解决方案:1、设置一个栈2、在递归调用“深度优先遍历左子树”之前,将0压入栈;在递归调用“深度优先遍历右子树”之前,将1压入栈3、当递归调用出来后,将栈顶元素弹出这样到了页结点的时候,

2006-12-01 22:59:00 3866

Ngram Statistics Package (Text-NSP)

The Ngram Statistics Package (NSP) is a suite of programs that aids in analyzing Ngrams in text files. NSP consists of two core programs: Program count.pl takes flat text files as input and generates a list of all the Ngrams that occur in those files. The Ngrams, along with their frequencies, are output in descending order of their frequency. Program statistic.pl takes as input a list of Ngrams with their frequencies (in the format output by count.pl) and runs a user-selected statistical measure of association to compute a "score" for each Ngram. The Ngrams, along with their scores, are output in descending order of this score. The statistical score computed for each Ngram can be used to decide whether or not there is enough evidence to reject the null hypothesis (that the Ngram is not a collocation) for that Ngram.

2009-11-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除