亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? readme

?? Lin-Kernighan heuristic for the TSP and minimum weight perfect matching
??
?? 第 1 頁 / 共 2 頁
字號:
This is the README for lk-0.5.0See BUGS and ChangeLog for a summary of recent changes, including twobug fixes since the last public release (0.4.17).The home site of this package is http://www.cs.utoronto.ca/~neto/research/lkEnjoy,David Neto, netod@acm.org, 2000/9/17Contents======== - Introduction - Making the programs - Why a new implementation? - Tools - Algorithms - Performance - Rough bits - Copyrights and Licenses - ReferencesIntroduction============Program LK implements the Lin-Kernighan heuristic for the symmetrictraveling salesman problem (TSP).See the famous 1973 paper by Shen Lin and Brian Kernighan for the firstdescription and motivation of this algorithm.  (References appear below.)  A more modern source is the chapter by Johnson and McGeoch; it describesthe Lin-Kernighan algorithm in the context of other local searchalgorithms for the TSP.This program was written by David Neto for his doctoral work in theDepartment of Computer Science at the University of Toronto.  It mostlyfollows the design outline given by Johnson and McGeoch for theimplementation due to Johnson, Bentley, McGeoch and Rothberg (JBMR),and is tuned for two-dimensional Euclidean instances.  I successfully defended my PhD on May 25, 2000.  The thesistitle is ``Efficient Cluster Compensation for Lin-Kernighan Heuristics''.Find out more by visiting http://www.cs.utoronto.ca/~neto/research/thesis.htmlThe thesis is now available online in PostScript form.This program introduces ``efficient cluster compensation'', analgorithmic technique intended to make the Lin-Kernighan heuristicmore robust in the face of clustered data.Mail suggestions and bug reports for LK to netod@acm.org.  Please includethe version of `lk', which you can get by running `lk --version'.If pertinent, include a pointer to sample inputs.Programs jitter, shake, tspgen, are TSP instance generators.  These others are the subject of active research.Program unifd generates 2-d instances with uniform distribution over a square.Making the programs===================See the file INSTALL for compilation instructions.  In a nutshell:	./configure	make	(cd script; make myall)	(cd src; ../script/lkdoitcmp)You'll probably want to execute the ../script/lkdoitcmp script whileinside the src directory.  That creates two binaries: 	lk.no_d (baseline Lin-Kernighan without cluster compensation), and	lk.deg (lk with cluster compensation)You can tell the which version is which by executing the binary with--version.  The cluster compensation will have a 'deg' at the end ofits version number, e.g. 	LK 0.4.20degScripts for munging data and running experiments are in the script directory,and the data directory, and in this directory.  Buyer beware.  :)The expt directory contains scripts for script/expt.pl that run a batteryof experiments.   The expt directory also contains a horribly convoluted makefile for processing the output logs of the experiments.Once both binaries for lk are built, try this inside the expt directory:    ../script/expt.pl expttest    make tsp.lin105..i1..cf.plt    make tsp.lin105..i1..probe.plt    make tsp.lin105..i1..move.plt    # Shows run by run comparison with and without cluster compensation.    gnuplot tsp.lin105..i1..cf.plt       # Show probe depths of lambda-changes (how long does the t list grow,     #	and how often    gnuplot tsp.lin105..i1..probe.plt       # Show move depths of improving lambda-changes (i.e. that we commit to)    gnuplot tsp.lin105..i1..move.plt   If you want to try a more extensive set of experiments, try expttsp.script/TSP.pm is a start at a Perl module that should mostly encapsulatemunging of TSPLIB files.  For example, see script/tsplib2rothberg.pl.Why a new implementation?=========================1. "You never really know something until you teach it to a computer."	-- Donald Knuth (paraphrase)2.  When I started writing this program, there were no freely availableimplementations of the Lin-Kernighan heuristic.3.  I wanted to instrument the program so I could learn more about thebehaviour of the algorithm.  Writing it myself seemed a natural wayto know where and what to instrument.4.  I originally wanted to run the code in parallel.  Also, I chose theperformance-oriented implementation language C.  Both factors meant Ineeded to architect the code in a particular way.  (Now I don't careabout parallelizing the code.)5.  I've written (most of) the code in a "literate style".  I've used theCWEB suite of literate programming tools.  I'm convinced literateprogramming is the way to go for experimental and expositoryprogramming.6.  Free software is a good thing.  By "free" I mean free toredistribute and modify.  (See http://www.debian.org/intro/free.) I wanted to be able to distribute the code under the GNU GPL or the GNULGPL, so I needed to write a clean-room implementation.I do not resent other people for not releasing their code.  I have thegreatest respect for other researchers in this field (see thereferences).  They have already given a great deal in describing theirown work.Let me clarify this stance with two quotes:"My opinion on licenses is that `he who writes the code gets to choosethe license, and nobody else gets to complain.' Anybody complainingabout a copyright license is a whiner." -- Linus Torvalds."Implementation is the sincerest form of flattery." -- L. Peter Deutsch.Note:I just found out about the Applegate, Bixby, Chvatal, Cook source coderelase.  I'm eager to try out their code.(See http://www.caam.rice.edu/~keck/concorde.html)But before I do, I'm releasing my own code, to establish the "cleanliness"of my code.Tools=====If you want to try the programs in this package, you will need a C compilerand make.  The only non-standard C the program requires is the BSDresource usage functions (getrusage).If you want to munge the output and run experiments automatically,you will need Perl and GNU make (for expt/Makefile).  If you wantto plot the munged output of experiments, you will need gnuplot.If you want to read the code, you will need CWEB and TeX to processthe .w files into .dvi files.If you want to develop the code, you will need CWEB (and make and a Ccompiler).  Edit the .w files, not the .c files!  I also stronglysuggest using RCS.  You'll probably also want GNU autoconf and GNUautomake.  Remaking dependencies can be avoided by first usingautomake --include-deps in the project root directory.Algorithms==========For the Lin-Kernighan heuristic for the TSP, I worked from Lin andKernighan's original paper and from the Johnson and McGeoch chapter.(See src/jbmr.w)Jon Bentley and Doug McIlroy developed the QuickSort variant coded asdsort() in file src/dsort.w.  See their article "Engineering a SortFunction".  I used it here because it is deterministic: I needrepeatability for my experiments.  Apparently, the Solaris qsortfunction isn't always deterministic.  (See src/dsort.w)Kd-trees for semi-dynamic point sets are Jon Bentley's creation.I've implemented 2-d trees only.  3-d and beyond shouldn't be hard.Of the queries, I've implemented only the nearest-neighbour queries,not the fixed-radius searches.  (See src/kdtree.w)The TSP code uses the oriented tour ADT as described by Fredman et.al.I've implemented the ADT in terms of arrays and two-level trees.(See src/array.w, src/twolevel.w)I've also implemented a crude version of Held-Karp lower bounds forthe TSP.  (See src/ascend.w)Program LK can also be used for approximately solving the minimumweight perfect matching problem.  The details are simpler than forthe TSP.  I don't know of anyone else applying Lin-Kernighan for weighted perfect matching, although Bentley used 2-opt for thisproblem.  (See his paper on fast geometric algorithms for the TSP.He used a 2-opt matching algorithm as a component in his approximateChristofides algorithm.)(See src/match.w: it plays the role for matching that jbmr.w does for the TSP)I invented cluster compensation, and I think it's kind of neat.(See src/decluster.w)Fast least common ancestors in binary trees is implemented in decluster.w.I use the algorithm described by Schieber.The chaos game for iterated function systems played in ifs.w is describedin Michael Barnsley's _Fractals Everywhere_.Performance===========Program lk is a high quality implementation of the Lin-Kernighanheuristic.  However, I wouldn't call it "state of the art".  What do I mean?I consider the JBMR implementation to be the state of the artimplementation of the Lin-Kernighan heuristic for the TSP.  I useit as the standard of comparison.  In the latter stages of my doctoralresearch another group led by Bill Cook publicized their own extremelyscalable implementation of the Lin-Kernighan heuristic.(As I write, there is a DIMACS implementation challenge for the TSP,see http://www.research.att.com/~dsj/chtsp/)My implementation is "high quality" because it has similar algorithmicbehaviour as the JBMR implementation.  For example, the average depthof the searches is about 3 or 4 beyond the backtracking phase, i.e. toabout t_12 or t_14.  (If you know Lin-Kernighan, you'll know what thismeans).  It routinely gets tours that are within 2% of optimal (orabove the Held-Karp lower bound).  It can be run on million-cityuniform geometric instances in reasonable time and space.However, my implementation is slower than the JBMR implementation.In tests I ran a while back, my implementation was about twice asslow as the JBMR implementation.  For example, in about 2 CPU hours itcan find near-optimal tours for million-city instances.  (One SGIChallenge 150MHz MIPS R4400 processor; using about 250MB of RAM; amillion cities drawn randomly from a uniform distribution over the unitsquare; distance between cities is the Euclidean distance; within 2% ofoptimal, or 2.5% above the expected Held-Karp bound.)Rough bits==========LK is not finished.  There are a number of things that can be improved.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕在线不卡一区二区三区| 免费欧美高清视频| 视频一区中文字幕国产| 国产精品一区2区| 欧美三片在线视频观看| 中文字幕乱码亚洲精品一区| 免费成人你懂的| 欧美午夜电影在线播放| 欧美激情艳妇裸体舞| 伦理电影国产精品| 欧美视频一区在线| 亚洲美女偷拍久久| 成人性生交大片免费看中文| 精品va天堂亚洲国产| 天天免费综合色| 91福利国产精品| 国产精品国产a| 国产精品自产自拍| 久久夜色精品一区| 毛片av一区二区| 欧美喷水一区二区| 亚洲精品日韩一| 99久久精品国产麻豆演员表| 久久众筹精品私拍模特| 久久99久久久欧美国产| 91精品国产色综合久久不卡电影| 亚洲h动漫在线| 在线一区二区观看| 夜色激情一区二区| 欧美日韩国产大片| 亚洲成a人v欧美综合天堂| 欧美日韩亚洲综合一区 | av一区二区久久| 欧美激情自拍偷拍| youjizz久久| 18成人在线视频| 91美女在线视频| 亚洲一区二区三区美女| 欧美视频在线不卡| 天堂资源在线中文精品| 欧美一区二区三区在线观看| 日本中文字幕一区二区视频| 欧美一级片免费看| 国产综合色在线视频区| 久久久国产午夜精品| 国产91精品一区二区麻豆网站 | 日韩黄色免费电影| 日韩午夜中文字幕| 国产一区不卡精品| 国产精品成人一区二区艾草| 色综合激情五月| 午夜精品久久一牛影视| 久久免费偷拍视频| 91在线精品一区二区三区| 亚洲欧美日本在线| 91精品蜜臀在线一区尤物| 韩国女主播一区二区三区| 国产精品对白交换视频| 在线视频国产一区| 国内偷窥港台综合视频在线播放| 欧美极品xxx| 欧美午夜精品久久久久久超碰| 另类的小说在线视频另类成人小视频在线 | 免费高清在线一区| 国产精品拍天天在线| 欧美日韩日本视频| 国产传媒久久文化传媒| 亚洲自拍另类综合| 久久先锋资源网| 欧美性猛片aaaaaaa做受| 精品一区二区免费看| 日韩毛片高清在线播放| 91精品国产综合久久久蜜臀图片| 国内精品视频666| 亚洲激情自拍视频| 久久精品视频在线免费观看| 91福利社在线观看| 国产成人免费视频网站| 日韩中文欧美在线| 最新中文字幕一区二区三区| 91精品国产综合久久精品麻豆| 成人av在线资源网| 开心九九激情九九欧美日韩精美视频电影| 国产精品白丝在线| 久久综合九色综合久久久精品综合| 色综合久久久久网| 成人国产精品免费观看| 免费看日韩精品| 亚洲小少妇裸体bbw| 中文字幕一区av| 2023国产一二三区日本精品2022| 欧美日韩免费视频| 色狠狠色噜噜噜综合网| 成人午夜免费视频| 九九在线精品视频| 日韩激情一区二区| 亚洲国产视频直播| 亚洲综合激情小说| 亚洲免费在线观看视频| 国产精品入口麻豆原神| 久久精品亚洲精品国产欧美kt∨| 91精品国产综合久久精品图片| 欧美色大人视频| 色综合天天综合网国产成人综合天 | 亚洲精选一二三| 国产精品欧美一区二区三区| 国产亚洲人成网站| 精品99一区二区| 欧美videos中文字幕| 国产午夜亚洲精品不卡| 欧美美女一区二区三区| 在线视频一区二区免费| 99国产精品久久久久久久久久久| 国产成人亚洲综合a∨婷婷| 久久国产精品免费| 久久精品国产**网站演员| 日韩av网站在线观看| 天天av天天翘天天综合网| 婷婷激情综合网| 亚洲成人av资源| 亚洲综合在线观看视频| 一区二区三区久久久| 亚洲国产精品久久一线不卡| 亚洲综合在线观看视频| 亚洲成av人**亚洲成av**| 五月天中文字幕一区二区| 首页国产欧美日韩丝袜| 日日摸夜夜添夜夜添亚洲女人| 青娱乐精品在线视频| 国产一区二区三区在线看麻豆| 国产在线不卡一卡二卡三卡四卡| 国产精品99久久久久久似苏梦涵 | proumb性欧美在线观看| www.亚洲激情.com| 在线欧美日韩国产| 日韩欧美一区中文| 国产偷国产偷亚洲高清人白洁 | 2020国产精品自拍| 国产精品久久久久久亚洲毛片| 一区二区三区欧美在线观看| 日韩精品一级中文字幕精品视频免费观看 | 国产精品99久久久久久久女警 | 丝瓜av网站精品一区二区| 麻豆久久一区二区| 高清不卡在线观看| 色综合色狠狠天天综合色| 欧美三日本三级三级在线播放| 欧美一级夜夜爽| 国产精品人妖ts系列视频| 亚洲国产精品一区二区www| 日韩精品三区四区| 国产成人啪午夜精品网站男同| 色哦色哦哦色天天综合| 精品欧美乱码久久久久久| 最新成人av在线| 蜜桃视频在线观看一区二区| va亚洲va日韩不卡在线观看| 3d动漫精品啪啪1区2区免费| 欧美高清在线精品一区| 五月激情丁香一区二区三区| 国产一区二区久久| 在线成人免费观看| 国产精品国产三级国产aⅴ无密码| 午夜a成v人精品| 不卡在线视频中文字幕| 欧美一区2区视频在线观看| 国产精品视频九色porn| 免费在线观看视频一区| 95精品视频在线| 久久久久久电影| 免费不卡在线观看| 欧美制服丝袜第一页| 国产女人18毛片水真多成人如厕 | 日韩欧美区一区二| 一区二区三区在线视频观看| 成人综合婷婷国产精品久久 | 另类成人小视频在线| 一本大道久久a久久精二百| 久久亚洲精品小早川怜子| 热久久国产精品| 欧美日韩情趣电影| 一区二区三区不卡视频| 暴力调教一区二区三区| 国产午夜精品一区二区三区视频| 毛片基地黄久久久久久天堂| 欧美日韩激情一区二区三区| 国产精品国产三级国产普通话99| 国产精品99久久久久| 欧美不卡激情三级在线观看| 亚洲123区在线观看| 欧美色视频一区| 亚洲女人****多毛耸耸8| 成人一区二区三区视频在线观看 | 亚洲一区精品在线| 91麻豆国产福利在线观看| 国产精品久久久久久久久免费桃花| 精品综合免费视频观看| 欧美一二三区在线观看| 开心九九激情九九欧美日韩精美视频电影| 欧美精品一卡两卡|