probe.pl.in,v

来自「Lin-Kernighan heuristic for the TSP and 」· IN,V 代码 · 共 68 行

IN,V
68
字号
head	1.2;access;symbols	zero-five-zero:1.2	zero-four-seventeen:1.2	zero-four-ten:1.2	zero-four-nine:1.2	zero-four-eight:1.2	zero-four-five:1.2	zero-four-three:1.2	zero-four-zero:1.2;locks	neto:1.2; strict;comment	@# @;1.2date	97.11.07.22.21.01;	author neto;	state Exp;branches;next	1.1;1.1date	97.06.19.19.45.05;	author neto;	state Exp;branches;next	;desc@Extract probe and move depth from a LK output file.@1.2log@Now we expect gzipped log files.@text@#! @@PERL@@# @@configure_input@@# probe.pl# Extract probe and move depth from a LK output file.open(IN, "zcat @@ARGV |");  # Uncompress input files.open(POUT ,">probe.gpl");open(MOUT ,">move.gpl");while(<IN>) {	if( m/p (\d+) citydeep (\d+)/ ) {		print POUT "$1 $2\n";	} elsif( m/m (\d+) citydeep (\d+)/ ) {		print MOUT "$1 $2\n";	}}close(POUT);close(MOUT);@1.1log@Initial revision@text@d6 1d9 1a9 1while(<>) {@

⌨️ 快捷键说明

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