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

📄 makefile.am,v

📁 Lin-Kernighan heuristic for the TSP and minimum weight perfect matching
💻 AM,V
📖 第 1 页 / 共 2 页
字号:
# The massage key is of form <rotate><sfc><clone>, whered43 1a43 1# randomly renamed.d46 2a47 1# d49 1a49 1# original instance itself.d51 1a51 1# The permutation is a number, usually 0 through 5.  It affectsd62 1a62 1permutations 	= $(foreach n,$(permnumbers),.$(massageprefix)$(n) )d69 1a69 1plotfiles ='$(foreach perm,$(permutations),"$*$(perm).LKKIND.DATA.gpl" PLOTOPTION$(comma))'d72 1a72 1degplotfiles	=$(subst PLOTOPTION,$(plotdeg) ,$(subst LKKIND,deg ,$(plotfiles)))d77 1a77 1cfdegplotfiles  =$(subst PLOTOPTION,$(cfplotdeg) ,$(subst LKKIND,deg ,$(plotfiles)))d80 12a91 12mileplotline 	= $(subst DATA,mile    ,$(milemileplotline))cfplotline 		= $(subst DATA,cf      ,$(cfcfplotline))probeplotline 	= $(subst DATA,probe   ,$(plotline))moveplotline 	= $(subst DATA,move    ,$(plotline))improveplotline = $(subst DATA,improve ,$(plotline))gpl = if [ -r out.$*$(perm).$(lkkind).gz ]; then make $*$(perm).$(lkkind).DATA.gpl ;fi;cfgpl 	= out.$*$(perm).$(lkkind)milegpl 		= $(subst DATA,mile   ,$(gpl))probegpl 		= $(subst DATA,probe  ,$(gpl))movegpl 		= $(subst DATA,move   ,$(gpl))d107 2a108 14%.cf.ps : Makefile %.cf.plt	$(plttops)	%.mile.ps : Makefile %.mile.plt	$(plttops)	%.improve.ps : %.improve.plt	$(plttops)	%.move.ps : %.move.plt	$(plttops)	%.probe.ps : %.probe.plt	$(plttops)	d111 1a111 1	make massageprefix= $*.cf.pltd113 1a113 1	make massageprefix= $*.mile.pltd115 1a115 1	make massageprefix= $*.probe.pltd117 1a117 1	make massageprefix= $*.improve.pltd119 1a119 1	make massageprefix= $*.move.pltd122 1a122 1	make massageprefix=r $*.cf.pltd124 1a124 1	make massageprefix=r $*.mile.pltd126 1a126 1	make massageprefix=r $*.probe.pltd128 1a128 1	make massageprefix=r $*.improve.pltd130 23a152 1	make massageprefix=r $*.move.pltd155 1a155 1	make massageprefix=rs $*.cf.pltd157 1a157 1	make massageprefix=rs $*.mile.pltd159 1a159 1	make massageprefix=rs $*.probe.pltd161 1a161 1	make massageprefix=rs $*.improve.pltd163 1a163 1	make massageprefix=rs $*.move.pltd165 32a196 10%.s.cf.plt : Makefile	make massageprefix=s $*.cf.plt%.s.mile.plt : Makefile	make massageprefix=s $*.mile.plt%.s.probe.plt : Makefile	make massageprefix=s $*.probe.plt%.s.improve.plt : Makefile	make massageprefix=s $*.improve.plt%.s.move.plt : Makefile	make massageprefix=s $*.move.pltd201 4a204 4	$(foreach perm,$(permnumbers),$(foreach lkkind,deg no_d,mv cf.$(perm).$(lkkind) $*.$(massageprefix)$(perm).$(lkkind).cf.gpl; ))	echo set title \"LK compared with LK+decluster \(% vs. time\)\" >$*.$(massageprefix).cf.plt	echo $(cfplotline) | sed -e s#,$(dollar)##g >>$*.$(massageprefix).cf.plt	echo pause -1 >>$*.$(massageprefix).cf.pltd208 3a210 3	echo set title \"Percentage milestones vs. time\" >$*.$(massageprefix).mile.plt	echo $(mileplotline) | sed -e s#,$(dollar)##g >>$*.$(massageprefix).mile.plt	echo pause -1 >>$*.$(massageprefix).mile.pltd214 3a216 3	echo set title \"Histogram of probe depths\" >$*.$(massageprefix).probe.plt	echo $(probeplotline) | sed -e s#,$(dollar)##g >>$*.$(massageprefix).probe.plt	echo pause -1 >>$*.$(massageprefix).probe.pltd220 3a222 3	echo set title \"Histogram of move depths\" >$*.$(massageprefix).move.plt	echo $(moveplotline) | sed -e s#,$(dollar)##g >>$*.$(massageprefix).move.plt	echo pause -1 >>$*.$(massageprefix).move.pltd226 3a228 3	echo set title \"Tour length vs. time\" >$*.$(massageprefix).improve.plt	echo $(improveplotline) | sed -e s#,$(dollar)##g >>$*.$(massageprefix).improve.plt	echo pause -1 >>$*.$(massageprefix).improve.plt@1.6log@Support gzipped log files.@text@d3 1a3 1# $Id: Makefile.am,v 1.5 1997/10/31 19:36:48 neto Exp neto $d5 1a5 1# vi :set tw=0:a30 13# .no_d is no declustering# .de is declustering in eligibility test# .deg is declustering in eligibility test and greedy selection# massage prefix is #	(empty) for city reorderings and no SFC#	r for rotated instances but no SFC#	s for SFC and city reorderings#	rs for SFC and rotationsmassageprefix=permnumbers= 0 1 2 3 4 5permutations = $(foreach n,$(permnumbers),.$(massageprefix)$(n) )a32 2plotno_d=with linesplotdeg=with linespointsd34 33a66 2cfplotno_d=with linescfplotdeg=with pointsd70 14a83 14no_dplotfiles=$(subst PLOTOPTION,$(plotno_d),$(subst LKKIND,no_d,$(plotfiles)))degplotfiles=$(subst PLOTOPTION,$(plotdeg),$(subst LKKIND,deg,$(plotfiles)))plotline =plot $(no_dplotfiles) $(degplotfiles)milemileplotline =plot \"0.0\" with lines, $(no_dplotfiles) $(degplotfiles)cfno_dplotfiles=$(subst PLOTOPTION,$(cfplotno_d),$(subst LKKIND,no_d,$(plotfiles)))cfdegplotfiles=$(subst PLOTOPTION,$(cfplotdeg),$(subst LKKIND,deg,$(plotfiles)))cfcfplotline =plot \"0.0\" with lines, $(no_dplotfiles) $(degplotfiles)mileplotline = $(subst DATA,mile,$(milemileplotline))cfplotline = $(subst DATA,cf,$(cfcfplotline))probeplotline = $(subst DATA,probe,$(plotline))moveplotline = $(subst DATA,move,$(plotline))improveplotline = $(subst DATA,improve,$(plotline))d86 12a97 10milegpl = $(subst DATA,mile,$(gpl))cfgpl = out.$*$(perm).$(lkkind)probegpl = $(subst DATA,probe,$(gpl))movegpl = $(subst DATA,move,$(gpl))improvegpl = $(subst DATA,improve,$(gpl))allmilegpl = $(foreach lkkind,no_d deg,$(milegpl))allcfgpl = $(foreach lkkind,deg no_d,$(cfgpl))allprobegpl = $(foreach lkkind,no_d deg,$(probegpl))allmovegpl = $(foreach lkkind,no_d deg,$(movegpl))allimprovegpl = $(foreach lkkind,no_d deg,$(improvegpl))@1.5log@Added support for ..cf.plt etc.@text@d3 1a3 1# $Id: Makefile.am,v 1.4 1997/10/17 16:38:30 neto Exp $d69 1a69 1gpl = if [ -r out.$*$(perm).$(lkkind) ]; then make $*$(perm).$(lkkind).DATA.gpl ;fi;d149 1a149 1	cat $(foreach perm,$(permutations),$(allcfgpl)) | $(scriptdir)/cfresults.pld179 1a179 2%.probe.gpl : out.%d183 1a183 1%.move.gpl %.: out.%d187 1a187 1%.mile.gpl %.: out.%d191 1a191 1%.improve.gpl %.: out.%d195 1a195 1%.cost.gpl %.: out.%d199 1a199 1%.decd.gpl %.: out.%d203 1a203 1%.prd.gpl %.: out.%@1.4log@Added support for making SFC vs. no SFC, Rotate vs. Reorder.@text@d3 1a3 1# $Id: Makefile.am,v 1.3 1997/10/17 15:36:01 neto Exp neto $d102 11@1.3log@Added support for Bentley-style comparisons (See SODA'90).Added cost, decd, prd.@text@d3 1a3 1# $Id: Makefile.am,v 1.2 1997/06/25 21:05:28 neto Exp neto $d35 9a43 1permutations = .0 .1 .2 .3 .4 .5d57 1d63 1a63 1mileplotline = $(subst DATA,mile,$(plotline))d88 2a93 3%.cf.ps : Makefile %.cf.plt	$(plttops)	d103 33d139 4a142 4	$(foreach perm,$(permutations),$(foreach lkkind,deg no_d,mv cf$(perm).$(lkkind) $*$(perm).$(lkkind).cf.gpl; ))	echo set title \"LK compared with LK+decluster \(% vs. time\)\" >$@@	echo $(cfplotline) | sed -e s#,$(dollar)##g >>$@@	echo pause -1 >>$@@d146 3a148 3	echo set title \"Percentage milestones vs. time\" >$@@	echo $(mileplotline) | sed -e s#,$(dollar)##g >>$@@	echo pause -1 >>$@@d152 3a154 3	echo set title \"Histogram of probe depths\" >$@@	echo $(probeplotline) | sed -e s#,$(dollar)##g >>$@@	echo pause -1 >>$@@d158 3a160 3	echo set title \"Histogram of move depths\" >$@@	echo $(moveplotline) | sed -e s#,$(dollar)##g >>$@@	echo pause -1 >>$@@d164 3a166 3	echo set title \"Tour length vs. time\" >$@@	echo $(improveplotline) | sed -e s#,$(dollar)##g >>$@@	echo pause -1 >>$@@@1.2log@Added titles to the plots.Added targets for generating PostScript.@text@d3 1a3 1# $Id: Makefile.am,v 1.1 1997/06/25 19:45:23 neto Exp neto $d24 1d29 1a29 1scriptdir=../scriptsd41 3d45 1d50 4d55 1d62 1d67 1d80 4a83 1%.mile.ps : %.mile.pltd95 8d143 13@1.1log@Initial revision@text@d3 1a3 1# $Id: Makefile.am,v 1.1 1997/06/20 17:53:16 neto Exp neto $d25 3d60 19d82 2a83 3	echo $(mileplotline) | sed -e s#,$(dollar)##g >$@@	set title "Percentage milestones vs. time"	show titled88 2a89 3	echo $(probeplotline) | sed -e s#,$(dollar)##g >$@@	set title "Histogram of probe depths"	show titled94 2a95 3	echo $(moveplotline) | sed -e s#,$(dollar)##g >$@@	set title "Histogram of move depths"	show titled100 2a101 3	echo $(improveplotline) | sed -e s#,$(dollar)##g >$@@	set title "Tour length vs. time"	show titled126 1@

⌨️ 快捷键说明

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