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

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

?? lkconfig.h

?? Lin-Kernighan heuristic for the TSP and minimum weight perfect matching
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* lkconfig.h  * * Compile-time options for the program LK.   * * vi: set tabstop=4 shiftwidth=4: *  * $Id: lkconfig.h,v 1.20 1999/01/14 17:34:47 neto Exp neto $ *  *    Copyright (C) 1996, 1997 David Neto * *    This program is free software; you can redistribute it and/or modify *    it under the terms of the GNU General Public License as published by *    the Free Software Foundation; either version 2, or (at your option) *    any later version. * *    This program is distributed in the hope that it will be useful, but *    WITHOUT ANY WARRANTY; without even the implied warranty of *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU *    General Public License for more details. *  *    You should have received a copy of the GNU General Public License *    along with this program; if not, write to the Free Software *    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, *    USA. *  *  * This file sets the compile-time options for the program LK.  Behaviour * or availability of certain parts of the program LK are enabled or * modified here by defining C preprocessor symbols.  The defaults are * given in comments. *  * Warning!  This file is *not* generated by a web file.  It is a plain .h * header file so that the user who doesn't have ctangle installed (tsk, * tsk!) has the ability to change the configuration options for the * program LK.  That said, I've tried to make this file as self-documenting * as possible without the power of CWEB or TeX. *  * Some of the options from this file depend on definitions in config.h, * the package-wide configuration header file.  That file is generated * automatically at configuration time, and knows a lot about the target * system.  So files that include this header file should include * <config.h> first.  (See the Autoconf manual for why one should use * angle brackets (#include <config.h>) instead of ordinary quotes * (#include "config.h").) *  * Generally speaking, the first ``word'' in a symbol name corresponds to * the source file that it affects.  For example, ERROR_NO_CHECK controls * the behaviour of part of the error module in file error.w.  Sometimes * the name is abbreviated, e.g. KD_CHECK_VERBOSE controls behaviour of the * k-dimensional trees defined in kdtree.w. *  * * This file is divided into sections, most important first.  They are: *  Options to control algorithmic parameters. *  Options to control precision and accuracy. *  Options that may have an impact on performance, but not on correctness. *  Options to control the amount of memory used. *  Options to select options for repeatability -- good for experiments. *  Options to control in some way the amount of output generated. *  Options to control how much checking is done. *  *  *//*************************************************************************** * These options control algorithmic parameters. **************************************************************************//* We need to select which tabu rules are in effect.  Exactly one of * TABU_JBMR or TABU_Papadimitriou must be selected.   * (Only TABU_JBMR is implemented!!!) *  * TABU_JBMR selects the rule ``Never delete an added edge''. * TABU_Papadimitriou selects the rule ``Never add a deleted edge''. * * Papadimitriou's rule enables LK to solve a PLS-complete problem, but as * of 1997 had not yet been studied experimentally. * * Lin and Kernighan devised and used both rules, but did not name them * this way.  This naming scheme is my own mnemonic. * * Default:	#define TABU_JBMR	#undef TABU_Papadimitriou */#define TABU_JBMR#undef TABU_Papadimitriou/* Most of the time you want to limit the probe depth of the variable-depth  * search.  Use command line option --maxdepth <n> to do so.  The option * can only be used if JBMR_LIMIT_PROBE_DEPTH is defined.  There may be * an insignificant performance loss if it is defined, because there is a  * depth check at each step deeper in the search.   * * Default:	#define JBMR_LIMIT_PROBE_DEPTH */#define JBMR_LIMIT_PROBE_DEPTH/* Lin and Kernighan examine the farther tour neighbour of t[7] first. * This switch determines whether we consider the farther neighbour of t[1] * first.  If the value of JBMR_FARTHER_T1_FIRST is zero, then we try * the tour neighbours in arbitrary order. *  * A quick experiment on dsj1000 showed that (with declustering turned on), * it's better to turn this on:  turned off, total run time is 395 sec, * tour length is 19190163 (or 2.8% above optimal); turn on, total run time * is 91 sec, tour length is 18870278 (or 1.1% above optimal). * * Default:	#define JBMR_FARTHER_T1_FIRST 1 */#if !defined(JBMR_FARTHER_T1_FIRST)#define JBMR_FARTHER_T1_FIRST 1#endif/* Johnson and colleagues use a queue for the set of ``dirty'' or * ``active'' cities.  (Personal communication with DSJ August 1998). * I presume this to mean a last-in-first-out queue. * Applegate, Bixby, Chvatal, and Cook's implementation of LK (in Concorde) * definitely uses a LIFO queue.  And they seed the queue in random order. * Until 1998/8/5 I've used only a splay tree keyed on city number and  * always withdrawn the root of the splay tree as the next candidate for * t1.  *  * But my code has had large variance in the running time, especially on * clustered instances. * * Define DIRTY_SET to be DIRTY_SET_FIFO if you want the JBMR, * or ABCC behaviour.  Define it to be DIRTY_SET_SPLAY_ROOT if you * want the splay root behaviour. * * Default:	#define DIRTY_SET DIRTY_SET_FIFO */#define DIRTY_SET_FIFO 			0#define DIRTY_SET_SPLAY_ROOT 	1#if !defined(DIRTY_SET)#define DIRTY_SET DIRTY_SET_FIFO#endif/*************************************************************************** * These options control precision and accuracy. **************************************************************************//* We need to define a C data type for lengths.  Only one of the following * should be active at a time.  See length.w for more information.   * * Type long long is not pure ANSI; it is supported by GCC and by the IRIX * native C compiler.  At package configuration time, symbol * SIZEOF_LONG_LONG is set to zero if type long long is unsupported; it is * set to the number of bytes in long long otherwise, usually 8.  So we * can allow it conditionally as follows: *  * Example:	#if SIZEOF_LONG_LONG	#define LENGTH_LONG_LONG	#end *  * Default: 	#undef  LENGTH_DOUBLE 	#undef  LENGTH_FLOAT	#define LENGTH_INT	#undef  LENGTH_LONG_LONG */#define LENGTH_DOUBLE#undef LENGTH_FLOAT#undef LENGTH_INT#undef LENGTH_LONG_LONG/* Should we use the math library's hypot function instead of open-coding * the Euclidean distance function?  Numerical analysts might argue for * using hypot, but it turned out to be much slower.    * * The many cost functions are defined in the READ module, read.w. * * Default: 	#undef COST_USE_HYPOT  */#undef COST_USE_HYPOT/* JBMR_REQUIRE_JOINED_GAIN_VAR    * * If an inexact type is specified for length then by default the LK * optimization phase computes cumulative gains in a split variable: a * positive part and a negative part.  This default is safer but slower than * using a single cumulative gain variable. * * To force a unified variable, define the symbol * JBMR_REQUIRE_JOINED_GAIN_VAR.  Turn this option on if you trust summing * an alternating series with floating point numbers.  :) * (Hint: you shouldn't!) *  * However, I do use machine epsilon intelligently in cutting off the * search, so these alternating sums might not be such a big issue. * * Default:	#define JBMR_REQUIRE_JOINED_GAIN_VAR */#define JBMR_REQUIRE_JOINED_GAIN_VAR/*************************************************************************** * These options may have an impact on performance, but not on correctness. **************************************************************************//* We must determine what data structure to use for the tabu check. * Exactly one of TABU_LINEAR or TABU_SPLAY must be defined. * * TABU_LINEAR uses an unordered array; each check takes time linear in the * number of items in the array.  This is best for probes up to a depth of * about 50.  See also JBMR_LIMIT_PROBE_DEPTH. * * TABU_SPLAY uses a splay tree; each check takes (amortized) time * logarithmic in the number of items in the array, but has greater * overhead for smaller dictionaries.  This is better than TABU_LINEAR for * deeper probes. * * TABU_HASH uses hashing with chaining.  This might be the fastest of * them all.  (Actually, it is slightly buggy.  Johnson and McGeoch's  * C31k.1 instance can make it crap out.  Use TABU_LINEAR instead. * * I plan to implement an automatic switch from linear to splay when the * probe gets deep enough. * * Default:	#define TABU_LINEAR	#undef TABU_SPLAY	#undef TABU_LINEAR */#define TABU_LINEAR#undef TABU_SPLAY#undef TABU_HASH/* Define KD_BUILD_SMALLEST_SEGMENT_FIRST to make the k-d tree building * routine build the segment with the fewest number of cities first. * This may or may not prevent stack overflow.  (In fact, I think a * seriously smart compiler is needed for this trick to prevent stack * overflow. *  * Default:	#undef KD_BUILD_SMALLEST_SEGMENT_FIRST */#undef KD_BUILD_SMALLEST_SEGMENT_FIRST/* Define KD_NO_HIDDEN_BIT to remove all support for hidden bits in nodes * of k-d trees.  After running some experiments, it appears that the * reduction in bookkeeping (time and space) is more than offset by useless * node searches.  So the default is to not define this symbol. * * Default:	#undef KD_NO_HIDDEN_BIT */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
从欧美一区二区三区| 久久日一线二线三线suv| 日韩色视频在线观看| 久久久久久久久岛国免费| 亚洲午夜久久久久久久久电影院| 久久99久久久久| 色婷婷亚洲综合| 久久久久高清精品| 午夜伊人狠狠久久| 色网站国产精品| 欧美韩国日本不卡| 久久国产三级精品| 欧美日韩亚洲综合一区二区三区| 欧美国产一区二区| 韩国精品免费视频| 在线播放国产精品二区一二区四区 | 国产精品久久久久久久裸模| 五月天中文字幕一区二区| 成人动漫在线一区| 欧美国产精品一区| 国产精品中文有码| 日韩一区二区免费电影| 亚洲一区二区不卡免费| 色偷偷一区二区三区| 国产精品初高中害羞小美女文| 国产伦理精品不卡| 久久久美女毛片| 黑人精品欧美一区二区蜜桃| 51精品国自产在线| 日韩成人一区二区三区在线观看| 在线一区二区三区四区五区| 亚洲免费伊人电影| 在线观看日韩高清av| 亚洲尤物在线视频观看| 色婷婷av一区二区三区软件| 亚洲免费高清视频在线| 91免费观看视频| 亚洲欧美另类小说视频| 色综合久久99| 亚洲一区二区在线观看视频| 色94色欧美sute亚洲线路二 | 亚洲一区二区精品视频| 91成人看片片| 亚洲国产成人av好男人在线观看| 欧美亚洲精品一区| 日韩不卡一区二区三区| 日韩三级在线免费观看| 国产麻豆视频一区| 中文字幕在线不卡国产视频| 91小宝寻花一区二区三区| 亚洲精品乱码久久久久久久久| 欧美亚洲精品一区| 免费亚洲电影在线| 久久精品视频免费| 色88888久久久久久影院野外| 亚洲不卡一区二区三区| 精品毛片乱码1区2区3区| 丁香婷婷深情五月亚洲| 亚洲午夜精品17c| 日韩一区二区三区四区五区六区| 青青草原综合久久大伊人精品优势| 精品免费国产二区三区| 99久久久精品免费观看国产蜜| 亚洲午夜电影在线观看| 精品捆绑美女sm三区| 成人18视频日本| 丝袜诱惑制服诱惑色一区在线观看| 精品国产制服丝袜高跟| 91污在线观看| 美腿丝袜一区二区三区| 最新国产成人在线观看| 91精品在线免费| 成人免费毛片app| 亚洲福利视频一区| 国产日产精品1区| 欧美老年两性高潮| 成人精品一区二区三区四区| 亚洲成av人综合在线观看| 日本一区二区视频在线观看| 欧美三级欧美一级| 成人在线视频一区| 蜜桃视频在线一区| 亚洲免费视频中文字幕| 国产视频一区在线播放| 9191精品国产综合久久久久久 | 一本大道av伊人久久综合| 天天色天天爱天天射综合| 欧美极品xxx| 欧美成人艳星乳罩| 欧美综合色免费| 99久久久精品免费观看国产蜜| 麻豆国产精品一区二区三区| 亚洲国产日产av| 亚洲欧洲av在线| 国产欧美一区二区精品婷婷| 欧美成人精品二区三区99精品| 欧美色网一区二区| 色狠狠色狠狠综合| 成人av动漫在线| 国产成人av电影在线| 黑人精品欧美一区二区蜜桃 | 91麻豆精品国产无毒不卡在线观看| 不卡欧美aaaaa| 国产成人自拍网| 精品亚洲国产成人av制服丝袜| 亚洲成人激情自拍| 亚洲一级电影视频| 一区二区三区久久| 亚洲一区二区三区激情| 亚洲免费在线播放| 亚洲嫩草精品久久| 亚洲精品日韩综合观看成人91| 中文字幕日韩一区二区| 中文字幕+乱码+中文字幕一区| 国产欧美日韩在线看| 国产片一区二区| 国产精品国产精品国产专区不蜜| 久久久久九九视频| 国产欧美精品一区二区三区四区| 2020国产精品自拍| 久久久久久夜精品精品免费| 欧美成人女星排名| 久久久国际精品| 综合激情成人伊人| 亚洲三级电影网站| 亚洲妇熟xx妇色黄| 日本不卡在线视频| 美国三级日本三级久久99| 国产美女精品一区二区三区| 国产福利精品一区| 色综合视频在线观看| 欧美亚洲尤物久久| 欧美成人精品高清在线播放 | 最新国产精品久久精品| 一区二区三区国产| 日韩激情一二三区| 国内成人精品2018免费看| 国产suv精品一区二区三区| 成人激情开心网| 在线观看国产日韩| 日韩一区二区不卡| 欧美激情一区二区三区全黄| 亚洲少妇最新在线视频| 日韩精品一二三四| 国产不卡免费视频| 欧美性色黄大片| 在线视频你懂得一区二区三区| 91精品国产91久久久久久一区二区| 精品日韩欧美在线| 一区二区三区影院| 黄一区二区三区| 91网站最新地址| 日韩欧美国产综合一区 | 亚洲男人天堂一区| 美女网站色91| 99精品黄色片免费大全| 日韩午夜激情电影| 一区二区三区免费| 国产精品888| 欧美嫩在线观看| 国产精品久久久久久久久久免费看| 午夜欧美在线一二页| www.欧美日韩| 欧美精品一区二区三区蜜臀| 亚洲精品国产a久久久久久| 国产麻豆精品在线| 在线成人免费视频| 亚洲黄色免费网站| 国产成人免费视频精品含羞草妖精| 欧美日韩精品欧美日韩精品一| 中文乱码免费一区二区| 极品尤物av久久免费看| 色噜噜狠狠成人网p站| 国产亚洲自拍一区| 精一区二区三区| 欧美肥妇毛茸茸| 亚洲国产aⅴ成人精品无吗| 成人激情免费视频| 久久久五月婷婷| 精品午夜久久福利影院| 欧美日韩国产a| 亚洲国产成人精品视频| 色婷婷av一区二区| 亚洲人成网站精品片在线观看| 国产宾馆实践打屁股91| 精品成人在线观看| 青青草精品视频| 91麻豆精品国产91久久久使用方法| 亚洲欧美日韩系列| 色婷婷精品大视频在线蜜桃视频| 国产精品午夜在线观看| 福利一区在线观看| 久久日韩粉嫩一区二区三区| 麻豆中文一区二区| 日韩欧美的一区二区| 麻豆精品视频在线观看免费| 91精品国产免费久久综合| 免费一级片91| 久久亚洲综合色一区二区三区 | 成人一区二区三区在线观看|