<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3424884817310667624</id><updated>2011-11-27T15:40:59.631-08:00</updated><category term='boost'/><category term='CGAL'/><category term='踏板车'/><category term='Latex'/><category term='VS 2005'/><category term='thread'/><category term='Lyx'/><category term='not found'/><title type='text'>一个背影</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-7062611244910914575</id><published>2010-12-08T19:18:00.000-08:00</published><updated>2010-12-08T19:19:13.489-08:00</updated><title type='text'>博客已经搬家咯</title><content type='html'>详情请见 &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;http://doubletony.com&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-7062611244910914575?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/7062611244910914575/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2010/12/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/7062611244910914575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/7062611244910914575'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2010/12/blog-post.html' title='博客已经搬家咯'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-1376245075436176268</id><published>2010-10-11T22:06:00.001-07:00</published><updated>2010-10-11T22:06:30.484-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Latex'/><category scheme='http://www.blogger.com/atom/ns#' term='Lyx'/><title type='text'>给Mac下的Lyx配置拼写检查</title><content type='html'>&lt;p&gt;最近写东西，发现mac下的Lyx没有拼写检查非常的郁闷。结果按照Lyx官网上的指南做下来，一切倒也挺顺利。现在，在随便做个总结吧。&lt;/p&gt;&lt;p&gt;首先，可以在Lyx官网看一下大致的安装步骤，点击&lt;a href="http://wiki.lyx.org/Mac/MacSpelling"&gt;这里&lt;/a&gt;。&lt;/p&gt;&lt;p&gt;按照教程里的，首先得有G++的编译环境。官方文件上，推荐先装了XCode，这是个大家伙。接下来，要先安装cocoAspell，一路点next就行。接下来就是稍微麻烦点的aspell了。&lt;/p&gt;&lt;p&gt;1. 先从aspell的官方上下载aspell最新版的代码(目前:0.60.6)。(稍候，还需要再下字典)&lt;/p&gt;&lt;p&gt;2. 接下来解压缩下载的包，放到系统目录下/library/spelling目录下。中文系统的话，就是资源库下面的spelling目录下。&lt;/p&gt;&lt;p&gt;3. 然后打开terminal(终端)，cd到刚才的那个目录下，用下面的命令:&lt;br /&gt;./configure&lt;/p&gt;&lt;p&gt;4. 理论上应该啥问题都不会发生，然后再输入:&lt;br /&gt;make&lt;/p&gt;&lt;p&gt;5. 理论上应该啥问题都不会发生，最好再输入:&lt;br /&gt;sudo make install&lt;/p&gt;&lt;p&gt;按提示输入完密码后，应该就装好了。这样的操作要做两遍，一遍装aspell软件，一遍装字典。如果还想装其他字典，每个字典都要按1－5操作一遍。&lt;/p&gt;&lt;p&gt;6. 最后，再Lyx里找到reconfigure(重新配置)，之后重新启动lyx后，拼写检查应该就可以用了。&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-1376245075436176268?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/1376245075436176268/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2010/10/maclyx.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/1376245075436176268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/1376245075436176268'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2010/10/maclyx.html' title='给Mac下的Lyx配置拼写检查'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-6177701366162259015</id><published>2010-09-28T12:12:00.001-07:00</published><updated>2010-09-28T12:13:38.991-07:00</updated><title type='text'>Gaussian Elimination without pivoting</title><content type='html'>&lt;p&gt;Given a matrix A (nXn), define the a series matrices as following:&lt;/p&gt;  &lt;p&gt;A_1 = | a_{1,1} |   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; | a_{1,1} a_{1,2} |    &lt;br /&gt;A_2 = | a_{2,1} a_{2,2} |&amp;#160; &lt;br /&gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; | a_{1,1} a_{1,2} a_{1,3} |    &lt;br /&gt;A_3 = | a_{2,1} a_{2,2} a_{2,3} |    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; | a_{3,1} a_{3,2} a_{3,3} |&lt;/p&gt;  &lt;p&gt;…&lt;/p&gt;  &lt;p&gt;Now, it could be verified that we can using Gaussian Elimination for matrix A without pivoting&lt;em&gt; &lt;strong&gt;if and only if&lt;/strong&gt;&lt;/em&gt; A_1, A_2, \cdots, A_n are all non-singular. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-6177701366162259015?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/6177701366162259015/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2010/09/gaussian-elimination-without-pivoting.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/6177701366162259015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/6177701366162259015'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2010/09/gaussian-elimination-without-pivoting.html' title='Gaussian Elimination without pivoting'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-7298911850272630810</id><published>2010-09-27T15:56:00.001-07:00</published><updated>2010-09-27T15:56:35.519-07:00</updated><title type='text'>I don’t really understand Gaussian Elimination!</title><content type='html'>&lt;p&gt;That’s right! You think you know it, but unfortunately that might be not true!&lt;/p&gt;  &lt;p&gt;The baby-level thing – Gaussian Elimination is quite straightforward.&amp;#160; But the following things might be not that familiar to you. First of all, GE could give us the LU decomposition for most matrices. Second, GE is connected to the so-called completing squares in some interesting ways.&lt;/p&gt;  &lt;p&gt;Anyway, I have to stop this post.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-7298911850272630810?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/7298911850272630810/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2010/09/i-dont-really-understand-gaussian.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/7298911850272630810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/7298911850272630810'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2010/09/i-dont-really-understand-gaussian.html' title='I don’t really understand Gaussian Elimination!'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-8289748890338982363</id><published>2010-02-02T18:48:00.001-08:00</published><updated>2010-02-02T18:48:52.181-08:00</updated><title type='text'>悲剧</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;终于体会到，为啥对于某些类，要设计诸如GetValue和SetValue的接口函数了，而不是直接采用赋值。悲剧。。。&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=d9345e33-4c13-81f6-bde0-83a7fbc15224' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-8289748890338982363?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/8289748890338982363/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2010/02/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/8289748890338982363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/8289748890338982363'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2010/02/blog-post.html' title='悲剧'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-5170546639844740408</id><published>2009-12-17T18:54:00.001-08:00</published><updated>2009-12-17T18:54:26.139-08:00</updated><title type='text'>算法考试结束</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;不知道以后会不会忘了&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=013d8045-8451-8d78-9d40-4eb7a588de33' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-5170546639844740408?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/5170546639844740408/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post_123.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/5170546639844740408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/5170546639844740408'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post_123.html' title='算法考试结束'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-6332444284676012466</id><published>2009-12-17T18:53:00.001-08:00</published><updated>2009-12-17T18:53:40.074-08:00</updated><title type='text'>活着</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;这部电影，我看了&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=ffc8f165-aa86-84ce-ae30-bc301b530f09' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-6332444284676012466?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/6332444284676012466/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post_17.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/6332444284676012466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/6332444284676012466'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post_17.html' title='活着'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-3280870052614683759</id><published>2009-12-08T18:58:00.001-08:00</published><updated>2009-12-08T18:59:02.189-08:00</updated><title type='text'>关于这么一个指针传参数的问题</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;今天在写一个函数，就是要重新给一个指针分配一块内存。比如&lt;br/&gt;void renew(int * array, int b)&lt;br/&gt;{&lt;br/&gt;     delete [] array;&lt;br/&gt;     int size = 2*b;&lt;br/&gt;     array = new int[size];&lt;br/&gt;     memset(array,13,sizeof(int)*size);&lt;br/&gt;}&lt;br/&gt;void main()&lt;br/&gt;{&lt;br/&gt;     int * array;&lt;br/&gt;     int size = 13;&lt;br/&gt;     array = new int [size];&lt;br/&gt;     memset(array,0,sizeof(int)*size);&lt;br/&gt;     renew(array);&lt;br/&gt;     delete [] array;&lt;br/&gt;}&lt;br/&gt;结果胡折腾了一会，企图修改数组的内容，实际上毛用都没。后来哥悟到了，具体参考&lt;a href='http://qq164587043.blog.51cto.com/261469/48919/' target='_blank'&gt;这里&lt;/a&gt;。&lt;br/&gt;不过哥哥有个比那文章稍好点的解决方法，那文章说真要用，就用int **。其实当然也可用一个指针的拷贝，这样具体代码都不用改，那么，请听题，如果修改renew函数的参数？&lt;br/&gt;&lt;font face='georgia'&gt;A) void renew( &amp;amp;(int * array), int b)&lt;br/&gt;B) void renew( int &amp;amp;(*array), int b)&lt;br/&gt;C) void renew( int &amp;amp;* array, int b)&lt;br/&gt;D) void renew( int *&amp;amp; array, int b)&lt;/font&gt;&lt;br/&gt;&lt;font color='#000000'&gt;void renew(int *&amp;amp;array, int b)&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=38f818c4-b3b9-8c52-a62b-dc8fac28ce58' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-3280870052614683759?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/3280870052614683759/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post_8872.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/3280870052614683759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/3280870052614683759'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post_8872.html' title='关于这么一个指针传参数的问题'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-5859105695676931592</id><published>2009-12-05T23:23:00.001-08:00</published><updated>2009-12-05T23:23:54.577-08:00</updated><title type='text'>关于向量夹角的问题</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;昨天一个问题貌似没想通，太囧了，看起来貌似很简单。&lt;br/&gt;就是三维空间中，给了两个向量，就它们之间的夹角。当然有内积是，然后acos是可以算出来的。不过这个角度是无视转向。两个步骤可以结局，首先是要找一个法向量；其次是假定在一个平面中，求个带正负的面积。&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=637ca3a4-a50e-8b80-b36e-ae9b772425f4' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-5859105695676931592?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/5859105695676931592/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post_05.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/5859105695676931592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/5859105695676931592'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post_05.html' title='关于向量夹角的问题'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-5106735258969469676</id><published>2009-12-05T23:11:00.001-08:00</published><updated>2009-12-05T23:11:44.786-08:00</updated><title type='text'>关于一种图，不知道它有没有确切定义</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;在做2-SAT的时候发现的。就是在一个有向图中，不断地加边，直到找不出这样的边。这样的边uv是指对某一个点u，通过一条路径能到达v。我想不起有没有这样的定义。反正有一点可以确定，就是如果有环就是强连通分支。&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=af774bdd-3dea-88a0-a0c2-d5e1466bd52c' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-5106735258969469676?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/5106735258969469676/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/5106735258969469676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/5106735258969469676'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/12/blog-post.html' title='关于一种图，不知道它有没有确切定义'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-5336549763783073353</id><published>2009-12-04T12:55:00.001-08:00</published><updated>2009-12-04T12:55:04.244-08:00</updated><title type='text'>关于NP证明</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;自己先不严谨总结了一下，证明一个问题是NP难。粗俗地说，就是别SB，要BS。&lt;br/&gt;首先得有一个问题B，是已知的NP难，也就是说，它的解法至少是非多项式时间的。&lt;br/&gt;然后我们要证明的是一个问题S，怎么证呢？&lt;br/&gt;如果我们能找一个方法把B问题变成S问题，这个变换的方法得是多项式时间的。&lt;br/&gt;这样就可以证明要解决S问题，也是至少得非多项式时间的。&lt;br/&gt;这里关键就是要把已知的B问题变成S问题，而不是把S问题变成B问题。&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=3d15e6ec-c31c-82e2-a159-22b72d8a46c4' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-5336549763783073353?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/5336549763783073353/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/12/np.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/5336549763783073353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/5336549763783073353'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/12/np.html' title='关于NP证明'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-6245586669256522518</id><published>2009-11-24T17:18:00.001-08:00</published><updated>2009-11-24T17:18:49.977-08:00</updated><title type='text'>写在感恩节前</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;今天口语战战兢兢地面试完了，不知道结果怎样，但愿过了吧。&lt;br/&gt;整个世界(西方世界)都在准备着这个感恩节，落下我们这些个外邦人无所适从。我又不是派对狂，总觉得老美的假日总与我无大关系。也罢，落得一天好休息。&lt;br/&gt;今天要把MixedIntegerSolver给写完，至少得把框架写完整，再写不出来，就是傻逼了，也没时间了。另外，近几天要记得给James写封邮件，讨论讨论图形学课的最终project怎么做做。:þ&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=da084d62-9250-8cc4-b727-401065c1369d' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-6245586669256522518?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/6245586669256522518/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/11/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/6245586669256522518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/6245586669256522518'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/11/blog-post.html' title='写在感恩节前'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-2273872791157885770</id><published>2009-11-05T19:49:00.000-08:00</published><updated>2009-11-05T19:51:51.134-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='踏板车'/><title type='text'>ubuntu 9.10 相当不错</title><content type='html'>我是很久没碰linux了，本来也不是很熟悉的，最近9.10是风风火火的，于是我也凑个热闹。反正装起来方便的。用了一下，感觉果然相当得好。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-2273872791157885770?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/2273872791157885770/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/11/ubuntu-910.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/2273872791157885770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/2273872791157885770'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/11/ubuntu-910.html' title='ubuntu 9.10 相当不错'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-7417522279147346991</id><published>2009-10-29T10:32:00.001-07:00</published><updated>2009-10-29T10:32:46.829-07:00</updated><title type='text'>折腾了一晚上</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;悲剧，完全是浪费时间。从学校网站上下的Windows 7镜像文件居然不完整，重下一次之后就可以了。幸亏之前用FEBE备份过火狐的插件，加上Xmarks，恢复起来很方便，就是这下又要重装VS08，VS05还有CGAL那些库了，希望今晚能够搞定。不过能玩上win7也挺好的～&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=3b921b1e-d353-86e9-a8ad-2db5672a5f31' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-7417522279147346991?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/7417522279147346991/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/10/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/7417522279147346991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/7417522279147346991'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/10/blog-post.html' title='折腾了一晚上'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-7155551040719118914</id><published>2009-08-25T19:51:00.000-07:00</published><updated>2009-08-25T20:25:33.832-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='CGAL'/><category scheme='http://www.blogger.com/atom/ns#' term='thread'/><category scheme='http://www.blogger.com/atom/ns#' term='not found'/><category scheme='http://www.blogger.com/atom/ns#' term='boost'/><title type='text'>CGAL配置摘记</title><content type='html'>原本以为，我是始终不太会习惯于这种摘记的。现在觉得，与其说每次在同一个问题上反复花时间，不如在第一次解决时多花点时间。正所谓，好记性不如烂笔头。 —— 题记&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CGAL安装配置小心得&lt;br /&gt;&lt;br /&gt;加点关键词，以便万一有同道中人在google 就更可能搜得到。&lt;br /&gt;&lt;br /&gt;CGAL VS 2005  boost thread not found&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. 要看很有用的说明文档(&lt;a href="http://www.cgal.org/Manual/3.4/doc_html/installation_manual/Chapter_installation_manual.html#Section_1"&gt;猛击此处&lt;/a&gt;)，它已经挺详细的了。按照说明，将各种所需的库，都要首先安装好，其中zlib是CGAL自带。今天又忘了，去下载了个，虽然影响不大。&lt;br /&gt;&lt;br /&gt;2. 其实关于CMake要说一点。这个工具挺好用的，只是一段时间不用，容易忘记怎么用。今天就是没把输出路径改好，为了干净就又重新配置一边。&lt;br /&gt;&lt;br /&gt;3.关于一些出错信息。warning看一下，error仔细看一下，这是有好处的。今天关于boost库配置的时候，出了不少错误。一直google解决方法，其实看error信息是最好的。根据出错信息里的提示，直接在CMake里加了两个变量就好解决了。&lt;br /&gt;&lt;br /&gt;4.关于Qt。今天一直再没搞定boost的情况下，折腾用Qt4，结果是都不行。于是配置的时候，去掉了Qt。后来解决了boost，但又没把Qt配上。所以对于Qt就是不知道能不能用，下次配的时候再看吧，应该是可以支持的。&lt;br /&gt;&lt;br /&gt;5.关于安装，配置完之后，可以在输出目录生成一个cgal.sln工程文件，然后重新生成工程就行了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-7155551040719118914?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/7155551040719118914/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/08/cgal.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/7155551040719118914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/7155551040719118914'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/08/cgal.html' title='CGAL配置摘记'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-4134543167953640669</id><published>2009-08-21T20:12:00.001-07:00</published><updated>2009-08-21T20:12:40.853-07:00</updated><title type='text'>测试一个scribefire</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;试试看先&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=3f6ae898-4118-8716-b138-0145f7b9069b' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-4134543167953640669?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/4134543167953640669/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/08/scribefire.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/4134543167953640669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/4134543167953640669'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/08/scribefire.html' title='测试一个scribefire'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3424884817310667624.post-1567527553127204181</id><published>2009-07-14T21:42:00.000-07:00</published><updated>2009-07-14T21:43:20.696-07:00</updated><title type='text'>这博客太多了</title><content type='html'>又弄了一个&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3424884817310667624-1567527553127204181?l=doubletony.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://doubletony.blogspot.com/feeds/1567527553127204181/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://doubletony.blogspot.com/2009/07/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/1567527553127204181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3424884817310667624/posts/default/1567527553127204181'/><link rel='alternate' type='text/html' href='http://doubletony.blogspot.com/2009/07/blog-post.html' title='这博客太多了'/><author><name>doubletony</name><uri>http://www.blogger.com/profile/17921114711776959354</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
