Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - v c
Search - v c - List
使用C语言实现图像的游程编码压缩,性能优越,代码简单,便于实现。-The use of C language RLE image compression, superior performance, code is simple, easy to achieve.
Date : 2025-12-30 Size : 1kb User : 荆瑞

模拟退火和对称 *欧几里德旅行商问题。 * *为基础的解决办法的本地搜索启发式 *非过境道路和近邻 -/* * Simulated annealing and the Symetric * Euclidian Traveling Salesman Problem. * * Solution based on local search heuristics for * non-crossing paths and nearest neighbors * * Storage Requirements: n^2+4n ints * * Problem: given the coordinates of n cities in the plane, find a * permutation pi_1, pi_2, ..., pi_n of 1, 2, ..., n that minimizes * sum for 1<=i<n D(pi_i,pi_i+1), where D(i,j) is the euclidian * distance between cities i and j * * Note: with n cities, there is (n-1)!/2 possible tours. * factorial(10)=3628800 factorial(50)=3E+64 factorial(150)=5.7E+262 * If we could check one tour per clock cycle on a 100 MHZ computer, we * would still need to wait approximately 10^236 times the age of the * universe to explore all tours for 150 cities. * * gcc-O4-o tsp tsp.c-lm tsp | ghostview- * * Usage: tsp [-v] [n=dd] [s=dd] [filename] * -v : verbose * n= : nb of cities (cities generated randomly on E^2
Date : 2025-12-30 Size : 84kb User : 孙博

/* Copyright (C) 2001-2006 artofcode LLC. All Rights Reserved. This file is part of GNU ghostscript GNU ghostscript is free software you can redistribute it and/or modify it under the terms of the version 2 of the GNU General Public License as published by the Free Software Foundation. GNU ghostscript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ghostscript see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* $Id: sjpeg.h,v 1.6 2007/08/01 14:26:43 jemarch Exp $ */ /* IJG entry point wrappers */ /* Requires sdct.h, jpeg/jpeglib.h */ -/* Copyright (C) 2001-2006 artofcode LLC. All Rights Reserved. This file is part of GNU ghostscript GNU ghostscript is free software you can redistribute it and/or modify it under the terms of the version 2 of the GNU General Public License as published by the Free Software Foundation. GNU ghostscript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ghostscript see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* $Id: sjpeg.h,v 1.6 2007/08/01 14:26:43 jemarch Exp $ */ /* IJG entry point wrappers */ /* Requires sdct.h, jpeg/jpeglib.h */
Date : 2025-12-30 Size : 1kb User : hadmi

compapi.c,v 4.3d 90/01/18 03:00:00 don Release
Date : 2025-12-30 Size : 7kb User : zhl
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.