commit
004187541c
35 changed files with 1799 additions and 0 deletions
@ -0,0 +1,359 @@ |
|||||||
|
# ---> C |
||||||
|
# Prerequisites |
||||||
|
*.d |
||||||
|
|
||||||
|
# Object files |
||||||
|
*.o |
||||||
|
*.ko |
||||||
|
*.obj |
||||||
|
*.elf |
||||||
|
|
||||||
|
# Linker output |
||||||
|
*.ilk |
||||||
|
*.map |
||||||
|
*.exp |
||||||
|
|
||||||
|
# Precompiled Headers |
||||||
|
*.gch |
||||||
|
*.pch |
||||||
|
|
||||||
|
# Libraries |
||||||
|
*.lib |
||||||
|
*.a |
||||||
|
*.la |
||||||
|
*.lo |
||||||
|
|
||||||
|
# Shared objects (inc. Windows DLLs) |
||||||
|
*.dll |
||||||
|
*.so |
||||||
|
*.so.* |
||||||
|
*.dylib |
||||||
|
|
||||||
|
# Executables |
||||||
|
*.exe |
||||||
|
*.out |
||||||
|
*.app |
||||||
|
*.i*86 |
||||||
|
*.x86_64 |
||||||
|
*.hex |
||||||
|
|
||||||
|
# Debug files |
||||||
|
*.dSYM/ |
||||||
|
*.su |
||||||
|
*.idb |
||||||
|
*.pdb |
||||||
|
|
||||||
|
# Kernel Module Compile Results |
||||||
|
*.mod* |
||||||
|
*.cmd |
||||||
|
.tmp_versions/ |
||||||
|
modules.order |
||||||
|
Module.symvers |
||||||
|
Mkfile.old |
||||||
|
dkms.conf |
||||||
|
|
||||||
|
# ---> TeX |
||||||
|
## Core latex/pdflatex auxiliary files: |
||||||
|
*.aux |
||||||
|
*.lof |
||||||
|
*.log |
||||||
|
*.lot |
||||||
|
*.fls |
||||||
|
*.out |
||||||
|
*.toc |
||||||
|
*.fmt |
||||||
|
*.fot |
||||||
|
*.cb |
||||||
|
*.cb2 |
||||||
|
.*.lb |
||||||
|
|
||||||
|
## Intermediate documents: |
||||||
|
*.dvi |
||||||
|
*.xdv |
||||||
|
*-converted-to.* |
||||||
|
# these rules might exclude image files for figures etc. |
||||||
|
# *.ps |
||||||
|
# *.eps |
||||||
|
# *.pdf |
||||||
|
|
||||||
|
## Generated if empty string is given at "Please type another file name for output:" |
||||||
|
.pdf |
||||||
|
|
||||||
|
## Bibliography auxiliary files (bibtex/biblatex/biber): |
||||||
|
*.bbl |
||||||
|
*.bcf |
||||||
|
*.blg |
||||||
|
*-blx.aux |
||||||
|
*-blx.bib |
||||||
|
*.run.xml |
||||||
|
|
||||||
|
## Build tool auxiliary files: |
||||||
|
*.fdb_latexmk |
||||||
|
*.synctex |
||||||
|
*.synctex(busy) |
||||||
|
*.synctex.gz |
||||||
|
*.synctex.gz(busy) |
||||||
|
*.pdfsync |
||||||
|
|
||||||
|
## Build tool directories for auxiliary files |
||||||
|
# latexrun |
||||||
|
latex.out/ |
||||||
|
|
||||||
|
## Auxiliary and intermediate files from other packages: |
||||||
|
# algorithms |
||||||
|
*.alg |
||||||
|
*.loa |
||||||
|
|
||||||
|
# achemso |
||||||
|
acs-*.bib |
||||||
|
|
||||||
|
# amsthm |
||||||
|
*.thm |
||||||
|
|
||||||
|
# beamer |
||||||
|
*.nav |
||||||
|
*.pre |
||||||
|
*.snm |
||||||
|
*.vrb |
||||||
|
|
||||||
|
# changes |
||||||
|
*.soc |
||||||
|
|
||||||
|
# comment |
||||||
|
*.cut |
||||||
|
|
||||||
|
# cprotect |
||||||
|
*.cpt |
||||||
|
|
||||||
|
# elsarticle (documentclass of Elsevier journals) |
||||||
|
*.spl |
||||||
|
|
||||||
|
# endnotes |
||||||
|
*.ent |
||||||
|
|
||||||
|
# fixme |
||||||
|
*.lox |
||||||
|
|
||||||
|
# feynmf/feynmp |
||||||
|
*.mf |
||||||
|
*.mp |
||||||
|
*.t[1-9] |
||||||
|
*.t[1-9][0-9] |
||||||
|
*.tfm |
||||||
|
|
||||||
|
#(r)(e)ledmac/(r)(e)ledpar |
||||||
|
*.end |
||||||
|
*.?end |
||||||
|
*.[1-9] |
||||||
|
*.[1-9][0-9] |
||||||
|
*.[1-9][0-9][0-9] |
||||||
|
*.[1-9]R |
||||||
|
*.[1-9][0-9]R |
||||||
|
*.[1-9][0-9][0-9]R |
||||||
|
*.eledsec[1-9] |
||||||
|
*.eledsec[1-9]R |
||||||
|
*.eledsec[1-9][0-9] |
||||||
|
*.eledsec[1-9][0-9]R |
||||||
|
*.eledsec[1-9][0-9][0-9] |
||||||
|
*.eledsec[1-9][0-9][0-9]R |
||||||
|
|
||||||
|
# glossaries |
||||||
|
*.acn |
||||||
|
*.acr |
||||||
|
*.glg |
||||||
|
*.glo |
||||||
|
*.gls |
||||||
|
*.glsdefs |
||||||
|
*.lzo |
||||||
|
*.lzs |
||||||
|
*.slg |
||||||
|
*.slo |
||||||
|
*.sls |
||||||
|
|
||||||
|
# uncomment this for glossaries-extra (will ignore makeindex's style files!) |
||||||
|
# *.ist |
||||||
|
|
||||||
|
# gnuplot |
||||||
|
*.gnuplot |
||||||
|
*.table |
||||||
|
|
||||||
|
# gnuplottex |
||||||
|
*-gnuplottex-* |
||||||
|
|
||||||
|
# gregoriotex |
||||||
|
*.gaux |
||||||
|
*.glog |
||||||
|
*.gtex |
||||||
|
|
||||||
|
# htlatex |
||||||
|
*.4ct |
||||||
|
*.4tc |
||||||
|
*.idv |
||||||
|
*.lg |
||||||
|
*.trc |
||||||
|
*.xref |
||||||
|
|
||||||
|
# hyperref |
||||||
|
*.brf |
||||||
|
|
||||||
|
# knitr |
||||||
|
*-concordance.tex |
||||||
|
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files |
||||||
|
# *.tikz |
||||||
|
*-tikzDictionary |
||||||
|
|
||||||
|
# listings |
||||||
|
*.lol |
||||||
|
|
||||||
|
# luatexja-ruby |
||||||
|
*.ltjruby |
||||||
|
|
||||||
|
# makeidx |
||||||
|
*.idx |
||||||
|
*.ilg |
||||||
|
*.ind |
||||||
|
|
||||||
|
# minitoc |
||||||
|
*.maf |
||||||
|
*.mlf |
||||||
|
*.mlt |
||||||
|
*.mtc[0-9]* |
||||||
|
*.slf[0-9]* |
||||||
|
*.slt[0-9]* |
||||||
|
*.stc[0-9]* |
||||||
|
|
||||||
|
# minted |
||||||
|
_minted* |
||||||
|
*.pyg |
||||||
|
|
||||||
|
# morewrites |
||||||
|
*.mw |
||||||
|
|
||||||
|
# newpax |
||||||
|
*.newpax |
||||||
|
|
||||||
|
# nomencl |
||||||
|
*.nlg |
||||||
|
*.nlo |
||||||
|
*.nls |
||||||
|
|
||||||
|
# pax |
||||||
|
*.pax |
||||||
|
|
||||||
|
# pdfpcnotes |
||||||
|
*.pdfpc |
||||||
|
|
||||||
|
# sagetex |
||||||
|
*.sagetex.sage |
||||||
|
*.sagetex.py |
||||||
|
*.sagetex.scmd |
||||||
|
|
||||||
|
# scrwfile |
||||||
|
*.wrt |
||||||
|
|
||||||
|
# svg |
||||||
|
svg-inkscape/ |
||||||
|
|
||||||
|
# sympy |
||||||
|
*.sout |
||||||
|
*.sympy |
||||||
|
sympy-plots-for-*.tex/ |
||||||
|
|
||||||
|
# pdfcomment |
||||||
|
*.upa |
||||||
|
*.upb |
||||||
|
|
||||||
|
# pythontex |
||||||
|
*.pytxcode |
||||||
|
pythontex-files-*/ |
||||||
|
|
||||||
|
# tcolorbox |
||||||
|
*.listing |
||||||
|
|
||||||
|
# thmtools |
||||||
|
*.loe |
||||||
|
|
||||||
|
# TikZ & PGF |
||||||
|
*.dpth |
||||||
|
*.md5 |
||||||
|
*.auxlock |
||||||
|
|
||||||
|
# titletoc |
||||||
|
*.ptc |
||||||
|
|
||||||
|
# todonotes |
||||||
|
*.tdo |
||||||
|
|
||||||
|
# vhistory |
||||||
|
*.hst |
||||||
|
*.ver |
||||||
|
|
||||||
|
# easy-todo |
||||||
|
*.lod |
||||||
|
|
||||||
|
# xcolor |
||||||
|
*.xcp |
||||||
|
|
||||||
|
# xmpincl |
||||||
|
*.xmpi |
||||||
|
|
||||||
|
# xindy |
||||||
|
*.xdy |
||||||
|
|
||||||
|
# xypic precompiled matrices and outlines |
||||||
|
*.xyc |
||||||
|
*.xyd |
||||||
|
|
||||||
|
# endfloat |
||||||
|
*.ttt |
||||||
|
*.fff |
||||||
|
|
||||||
|
# Latexian |
||||||
|
TSWLatexianTemp* |
||||||
|
|
||||||
|
## Editors: |
||||||
|
# WinEdt |
||||||
|
*.bak |
||||||
|
*.sav |
||||||
|
|
||||||
|
# Texpad |
||||||
|
.texpadtmp |
||||||
|
|
||||||
|
# LyX |
||||||
|
*.lyx~ |
||||||
|
|
||||||
|
# Kile |
||||||
|
*.backup |
||||||
|
|
||||||
|
# gummi |
||||||
|
.*.swp |
||||||
|
|
||||||
|
# KBibTeX |
||||||
|
*~[0-9]* |
||||||
|
|
||||||
|
# TeXnicCenter |
||||||
|
*.tps |
||||||
|
|
||||||
|
# auto folder when using emacs and auctex |
||||||
|
./auto/* |
||||||
|
*.el |
||||||
|
|
||||||
|
# expex forward references with \gathertags |
||||||
|
*-tags.tex |
||||||
|
|
||||||
|
# standalone packages |
||||||
|
*.sta |
||||||
|
|
||||||
|
# Makeindex log files |
||||||
|
*.lpz |
||||||
|
|
||||||
|
# xwatermark package |
||||||
|
*.xwm |
||||||
|
|
||||||
|
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib |
||||||
|
# option is specified. Footnotes are the stored in a file with suffix Notes.bib. |
||||||
|
# Uncomment the next line to have this generated file ignored. |
||||||
|
#*Notes.bib |
||||||
|
|
||||||
|
# vscode |
||||||
|
.vscode/ |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
#最短経路:0->9->1->2->5->3->4->6->7->8->0 |
||||||
|
#最短経路長:35.63 |
||||||
|
1 1 |
||||||
|
6 0 |
||||||
|
9 3 |
||||||
|
9 8 |
||||||
|
6 9 |
||||||
|
7 5 |
||||||
|
3 8 |
||||||
|
0 9 |
||||||
|
3 5 |
||||||
|
4 2 |
||||||
@ -0,0 +1 @@ |
|||||||
|
gcc -Wall -lm tsp_jikken.c tsp_private.c tsp_public.c tsp.c -o tsp ; .\tsp |
||||||
@ -0,0 +1,101 @@ |
|||||||
|
# min avg max |
||||||
|
41.5433, 56.2432, 70.8706 |
||||||
|
41.5433, 52.9489, 64.8914 |
||||||
|
41.5433, 50.2838, 70.5527 |
||||||
|
41.0052, 47.7829, 65.7395 |
||||||
|
41.0052, 44.9366, 63.8423 |
||||||
|
39.2571, 43.9278, 64.3337 |
||||||
|
39.2571, 43.7881, 63.8423 |
||||||
|
39.2571, 42.2862, 59.5177 |
||||||
|
39.2571, 42.0238, 54.3256 |
||||||
|
39.2571, 42.1568, 63.0851 |
||||||
|
36.464, 41.0749, 55.4945 |
||||||
|
36.464, 41.1484, 66.1776 |
||||||
|
36.464, 41.033, 62.1425 |
||||||
|
36.464, 40.9938, 61.0389 |
||||||
|
36.464, 40.4489, 56.0738 |
||||||
|
36.464, 39.4724, 59.4337 |
||||||
|
36.464, 39.2671, 58.8699 |
||||||
|
36.464, 39.2704, 63.4688 |
||||||
|
36.464, 38.1143, 53.2453 |
||||||
|
36.464, 38.1057, 54.5408 |
||||||
|
36.464, 37.7785, 53.2453 |
||||||
|
36.464, 38.3985, 55.7743 |
||||||
|
36.464, 37.9681, 52.3717 |
||||||
|
35.6263, 37.8255, 55.7743 |
||||||
|
35.6263, 38.7252, 63.4688 |
||||||
|
35.6263, 39.0195, 63.4688 |
||||||
|
35.6263, 37.8999, 62.4187 |
||||||
|
35.6263, 37.9282, 55.7743 |
||||||
|
35.6263, 37.4584, 53.0499 |
||||||
|
35.6263, 37.4682, 52.3717 |
||||||
|
35.6263, 37.2831, 50.3336 |
||||||
|
35.6263, 36.7048, 50.3336 |
||||||
|
35.6263, 37.561, 53.379 |
||||||
|
35.6263, 37.7709, 53.379 |
||||||
|
35.6263, 37.7804, 54.5408 |
||||||
|
35.6263, 37.3412, 52.249 |
||||||
|
35.6263, 36.5371, 53.379 |
||||||
|
35.6263, 36.4896, 52.249 |
||||||
|
35.6263, 37.4936, 61.626 |
||||||
|
35.6263, 37.1807, 56.1744 |
||||||
|
35.6263, 37.0677, 53.379 |
||||||
|
35.6263, 36.6893, 51.7813 |
||||||
|
35.6263, 37.1117, 54.5408 |
||||||
|
35.6263, 36.7602, 50.3476 |
||||||
|
35.6263, 37.0735, 56.2887 |
||||||
|
35.6263, 36.877, 53.1389 |
||||||
|
35.6263, 36.6941, 54.5408 |
||||||
|
35.6263, 37.5088, 54.5408 |
||||||
|
35.6263, 37.1173, 54.5408 |
||||||
|
35.6263, 36.7332, 54.2678 |
||||||
|
35.6263, 37.0174, 54.5408 |
||||||
|
35.6263, 37.4219, 54.2678 |
||||||
|
35.6263, 37.5632, 56.1744 |
||||||
|
35.6263, 37.2171, 56.1744 |
||||||
|
35.6263, 36.767, 54.5408 |
||||||
|
35.6263, 37.8285, 56.1744 |
||||||
|
35.6263, 37.0538, 54.5408 |
||||||
|
35.6263, 36.4177, 52.6936 |
||||||
|
35.6263, 36.9115, 51.7813 |
||||||
|
35.6263, 37.3024, 56.1744 |
||||||
|
35.6263, 36.7944, 47.2004 |
||||||
|
35.6263, 37.5562, 53.379 |
||||||
|
35.6263, 36.6323, 54.5408 |
||||||
|
35.6263, 36.5994, 52.249 |
||||||
|
35.6263, 37.1367, 53.379 |
||||||
|
35.6263, 37.266, 54.3197 |
||||||
|
35.6263, 37.5201, 53.379 |
||||||
|
35.6263, 37.1902, 53.1389 |
||||||
|
35.6263, 37.3239, 53.379 |
||||||
|
35.6263, 36.5938, 53.2453 |
||||||
|
35.6263, 36.602, 53.1389 |
||||||
|
35.6263, 37.452, 56.1744 |
||||||
|
35.6263, 36.9308, 56.1744 |
||||||
|
35.6263, 36.7664, 54.5408 |
||||||
|
35.6263, 37.0498, 54.5408 |
||||||
|
35.6263, 37.4853, 54.5408 |
||||||
|
35.6263, 36.9586, 53.1389 |
||||||
|
35.6263, 36.9626, 56.1744 |
||||||
|
35.6263, 36.9608, 54.2678 |
||||||
|
35.6263, 36.242, 50.3336 |
||||||
|
35.6263, 38.5092, 54.5408 |
||||||
|
35.6263, 37.2976, 58.2788 |
||||||
|
35.6263, 37.5366, 54.2678 |
||||||
|
35.6263, 37.2887, 54.2258 |
||||||
|
35.6263, 37.3455, 52.4206 |
||||||
|
35.6263, 37.8723, 53.379 |
||||||
|
35.6263, 37.3919, 53.2453 |
||||||
|
35.6263, 37.351, 54.2678 |
||||||
|
35.6263, 38.4408, 56.5808 |
||||||
|
35.6263, 37.5935, 56.1744 |
||||||
|
35.6263, 37.8466, 53.379 |
||||||
|
35.6263, 37.4899, 52.6936 |
||||||
|
35.6263, 36.936, 62.5186 |
||||||
|
35.6263, 36.9946, 53.379 |
||||||
|
35.6263, 36.9064, 54.9852 |
||||||
|
35.6263, 36.7193, 49.9268 |
||||||
|
35.6263, 36.5643, 54.2678 |
||||||
|
35.6263, 38.0012, 54.5408 |
||||||
|
35.6263, 37.5631, 54.2678 |
||||||
|
35.6263, 37.3921, 56.1744 |
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,20 @@ |
|||||||
|
# 出力設定 |
||||||
|
set terminal pdfcairo size 4in,3in font "Arial,12" |
||||||
|
set output 'path_length_plot.pdf' |
||||||
|
|
||||||
|
set xlabel "generation" |
||||||
|
set ylabel "path length" |
||||||
|
set grid |
||||||
|
|
||||||
|
set xrange [0:100] |
||||||
|
set yrange [0:80] |
||||||
|
|
||||||
|
set xtics 10 |
||||||
|
set ytics 10 |
||||||
|
|
||||||
|
# データのプロット |
||||||
|
# $0 は行番号(0から開始)を意味します |
||||||
|
# 1列目:min, 2列目:avg, 3列目:max を想定 |
||||||
|
plot 'output.dat' using 0:1 with lines title "Min", \ |
||||||
|
'' using 0:2 with lines title "Avg", \ |
||||||
|
'' using 0:3 with lines title "Max" |
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,60 @@ |
|||||||
|
# 出力一覧 |
||||||
|
|
||||||
|
## 収束曲線 |
||||||
|
|
||||||
|
### only_mutation1 |
||||||
|
|
||||||
|
- selection()をコメントアウト |
||||||
|
- ELETE_SELECTION NO |
||||||
|
- GENE_NUM 100 |
||||||
|
- ELETE 1 |
||||||
|
- GENERATION 100 |
||||||
|
- MUTATION_RATIO 0.2 |
||||||
|
- SELECT_NUM 2 |
||||||
|
|
||||||
|
### elete1 |
||||||
|
|
||||||
|
- ELETE_SELECTION YES |
||||||
|
- GENE_NUM 100 |
||||||
|
- ELETE 1 |
||||||
|
- GENERATION 100 |
||||||
|
- MUTATION_RATIO 0.2 |
||||||
|
- SELECT_NUM 2 |
||||||
|
|
||||||
|
### elete1s |
||||||
|
|
||||||
|
elete1をtour1と同じような開始にしたバージョン |
||||||
|
|
||||||
|
- ELETE_SELECTION YES |
||||||
|
- GENE_NUM 100 |
||||||
|
- ELETE 1 |
||||||
|
- GENERATION 100 |
||||||
|
- MUTATION_RATIO 0.2 |
||||||
|
- SELECT_NUM 2 |
||||||
|
|
||||||
|
### elete2 |
||||||
|
|
||||||
|
- ELETE_SELECTION YES |
||||||
|
- GENE_NUM 100 |
||||||
|
- ELETE 1 |
||||||
|
- GENERATION 100 |
||||||
|
- MUTATION_RATIO 0.2 |
||||||
|
- SELECT_NUM 10 |
||||||
|
|
||||||
|
### tour1 |
||||||
|
|
||||||
|
- ELETE_SELECTION NO |
||||||
|
- GENE_NUM 100 |
||||||
|
- ELETE 1 |
||||||
|
- GENERATION 100 |
||||||
|
- MUTATION_RATIO 0.2 |
||||||
|
- SELECT_NUM 2 |
||||||
|
|
||||||
|
### tour2 |
||||||
|
|
||||||
|
- ELETE_SELECTION NO |
||||||
|
- GENE_NUM 100 |
||||||
|
- ELETE 1 |
||||||
|
- GENERATION 100 |
||||||
|
- MUTATION_RATIO 0.2 |
||||||
|
- SELECT_NUM 10 |
||||||
Loading…
Reference in new issue