⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 expttest2,v

📁 Lin-Kernighan heuristic for the TSP and minimum weight perfect matching
💻
字号:
head	1.1;access;symbols	zero-five-zero:1.1	zero-four-seventeen:1.1;locks	neto:1.1; strict;comment	@# @;1.1date	98.10.17.19.20.58;	author neto;	state Exp;branches;next	;desc@Test 2@1.1log@Initial revision@text@#! /usr/bin/perl -I../script ../script/expt.pl# vi : set ts=4 sw=4:# Driver tables for experiments.## Kinds of lines:# 	"require": earliest version of expt.pl that can run this script.# 	"salt": a number to be mixed with permutation number and instance name#		to derive a random number generator seed.#	"algprefix": used to form algorithm-specific names for output files.# 	"inputdir": directory where the input tsp files are# 	"outputdir": directory where the output files should go# 	"scriptdir": directory where scripts are.# 	"bindir": directory where the lk programs are (lk.deg and lk.no_d).# 	"program": base name of program to run (e.g. lk or lk.single);#		The variations will be appended to this# 	"variations": colon-separated list of things to append to "program" to#		get the main optimizer program.# 	"instance": perform experiments on the named TSP file.#	"permutations": list seeds for permuting cities (0 is identity)#	"lkargs": list of arguments that are always supplied#	"preprocess": list preprocessing command (e.g. for cloning)#		There can be multiple preprocessing commands, for multiple kinds of#		runs## instance line Fields, separated by colons:#  	name of file (without .tsp) in $inputdir#	N, the number of cities in the instance#	option to always use with this instance. (Use -l and -u here)#   (sequence of entries indicating number of iters to run.  #		N is replaced by the number of vertices.)## preprocess line fields, separated by colons:#	the command to run on the file with output piped to reorderer.#	the early suffix to put on instance name when generating output files#	the late suffix to put on instance name when generating output files#require 	0.4.14  # First version having a "program" directivesalt	 	314159algprefix	tsp.inputdir	../dataoutputdir	../exptscriptdir	../scriptbindir		../srcprogram		lk.single#lkargs     	-v 50 -S dsort --maxdepth 50 -c nq 10lkargs     	-v 50 -S dsort --maxdepth 50 -c nn 20permutations 3:7variations	.no_d#variations	.deg#variations	.no_dpreprocess cat   : :  # Empty mod letters.#preprocess ../src/lk.deg -M -v 0 -S dsort | ../src/tspgen -s %p142 : t%p142 : c#preprocess ../src/jitter -s %p142 : j%p142 : c#preprocess ../src/shake -s %p142 : s%p142 : cinstance pla7397:7397:	-u optimal 23260728 -l hk 23126594 : N #computed HK@

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -