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

📄 table.tex,v

📁 Lin-Kernighan heuristic for the TSP and minimum weight perfect matching
💻 TEX,V
字号:
head	1.2;access;symbols	zero-five-zero:1.2;locks	neto:1.2; strict;comment	@% @;1.2date	98.11.27.00.00.30;	author neto;	state Exp;branches;next	1.1;1.1date	98.11.26.17.33.14;	author neto;	state Exp;branches;next	;desc@Render the tables generated by maketables@1.2log@Nicer display, and proper widths for all tables.@text@\documentclass{article}\pagestyle{myheadings}\markright{\today \#1}\def\linezerom#1{#1\\ \hline}\def\lineonem#1#2{#1 & #2 \\ \hline}\def\linetwom#1#2#3{#1 & #2 & #3 \\ \hline}\def\linethreem#1#2#3#4{#1 & #2 & #3 & #4 \\ \hline}\def\renderpair#1#2#3#4{#1 & #2 & #4}\def\renderpair#1#2#3#4{#1 & #2 & #3}\def\manytable#1{\par\vbox{\vbox{#1}\vbox{\begin{tabular}{|l||r|r|r||r|r|r||r|r|r|rrrr}\hline	\input #1	\end{tabular}}}\vskip 1cm}\def\fewtable#1{\par\vbox{\vbox{#1}\vbox{\begin{tabular}{|l||r|r|r||r|r|r|}\hline	\input #1	\end{tabular}}}\vskip 1cm}\begin{document}%%%%%%%%%%%%%%%%%%%% TSP%%%%%% TSPLIB few\def\renderpair#1#2#3#4{#1 & #2 & #3}\fewtable{table.tsp.tsplib.few.hk.pct.out}\fewtable{table.tsp.tsplib.few.hk-estimate.pct.out}\fewtable{table.tsp.tsplib.few.optimal.pct.out}%% render time\def\renderpair#1#2#3#4{#1 & #2 & #4}\fewtable{table.tsp.tsplib.few.hk.time.out}\tracingcommands=1\fewtable{table.tsp.tsplib.few.hk-estimate.time.out}\fewtable{table.tsp.tsplib.few.optimal.time.out}%lllllllfewmany%%%%%% TSPLIB many%% render pct\def\renderpair#1#2#3#4{#1 & #2 & #3}\manytable{table.tsp.tsplib.many.hk.pct.out}\manytable{table.tsp.tsplib.many.hk-estimate.pct.out}\manytable{table.tsp.tsplib.many.optimal.pct.out}%% render time\def\renderpair#1#2#3#4{#1 & #2 & #4}\manytable{table.tsp.tsplib.many.hk.time.out}\manytable{table.tsp.tsplib.many.hk-estimate.time.out}\manytable{table.tsp.tsplib.many.optimal.time.out}%%%%%% Ben few%% render pct\def\renderpair#1#2#3#4{#1 & #2 & #3}\fewtable{table.tsp.ben.few.hka.pct.out}\fewtable{table.tsp.ben.few.hka.pct.out.con}%% render time\def\renderpair#1#2#3#4{#1 & #2 & #4}\fewtable{table.tsp.ben.few.hka.time.out}\fewtable{table.tsp.ben.few.hka.time.out.con}%%%%%% DSJR few%% render pct\def\renderpair#1#2#3#4{#1 & #2 & #3}\manytable{table.tsp.dsjr.small.many.hka.pct.out}\manytable{table.tsp.dsjr.small.many.hka.pct.out.con}%% render time\def\renderpair#1#2#3#4{#1 & #2 & #4}\manytable{table.tsp.dsjr.small.many.hka.time.out}\manytable{table.tsp.dsjr.small.many.hka.time.out.con}% Unif big% Clones%%%%%%%%%%%%%%%%%%%% WPM%%%%%%%%%%% TSPLIB%% render pct\def\renderpair#1#2#3#4{#1 & #2 & #3}\manytable{table.wpm.tsplib.optimal.pct.out}%% render time\def\renderpair#1#2#3#4{#1 & #2 & #4}\manytable{table.wpm.tsplib.optimal.time.out}%%%%%%%%%%% Ben%% render pct\def\renderpair#1#2#3#4{#1 & #2 & #3}\manytable{table.wpm.ben.optimal.pct.out}\manytable{table.wpm.ben.optimal.pct.out.con}%% render time\def\renderpair#1#2#3#4{#1 & #2 & #4}\manytable{table.wpm.ben.optimal.time.out}\manytable{table.wpm.ben.optimal.time.out.con}%%%%%%%%%%% DSJR%% render pct\def\renderpair#1#2#3#4{#1 & #2 & #3}\manytable{table.wpm.dsjr.small.optimal.pct.out}\manytable{table.wpm.dsjr.small.optimal.pct.out.con}%% render time\def\renderpair#1#2#3#4{#1 & #2 & #4}\manytable{table.wpm.dsjr.small.optimal.time.out}\manytable{table.wpm.dsjr.small.optimal.time.out.con}% Unif big% Clones\end{document}@1.1log@Initial revision@text@d2 2d7 1a7 1\def\linethreem#1#2#3#4{#1 & #2 & #3 \\ \hline}d11 1a11 1\def\manytable#1{\par\vbox{\vbox{#1}\vbox{\begin{tabular}{|l|r|r|r|r|r|r|}\hlined14 1a14 1\def\fewtable#1{\par\vbox{\vbox{#1}\vbox{\begin{tabular}{|l|r|r|r|r|}\hlinea20 1%% render pctd29 1d33 2d52 2a53 1\manytable{table.tsp.ben.few.hka.pct.out}d56 2a57 1\manytable{table.tsp.ben.few.hka.time.out}d63 1d66 2a67 1\manytable{table.tsp.dsjr.small.many.hka.pct.out}d89 1d93 1d99 1d103 1@

⌨️ 快捷键说明

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