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

📄 tsp2matrix.c

📁 Lin-Kernighan heuristic for the TSP and minimum weight perfect matching
💻 C
字号:
/*2:*/#line 76 "./tsp2matrix.w"const char*prog_name= "tsp2matrix";const char*tsp2matrix_rcs_id= "$Id: tsp2matrix.w,v 1.1 1998/12/05 20:10:14 neto Exp neto $";#include <config.h>#include "lkconfig.h"#include <stddef.h>#include <stdio.h>#include <stdlib.h>#include "length.h"#include "read.h"int noround= 0;int main(int argc,char**argv){tsp_instance_t*tsp;if(!(LENGTH_TYPE_IS_INTEGRAL)){fprintf(stderr,"%s: Warning: Length type is not integral. Truncating lengths.\n",argv[0]);}tsp= read_tsp_file(stdin,NULL,0);write_tsp_file_clip_matrix(tsp,stdout,0,1);return 0;}/*:2*/

⌨️ 快捷键说明

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