A program to demonstrate the optimization process of ant colony optimization for the traveling saleman problem (TSP). The cities are shown as red circles, the pheromone on the connections between them (fully connected graph) by gray lines. The darker the grey, the more pheromone is currently on the edge. During the optimization, the currently best found tour is drawn in red. To RUN the optimization, first create a random TSP, then create an ant colony, and finally RUN the optimization.
标签: optimization demonstrate the traveling
上传时间: 2015-07-12
上传用户:偷心的海盗
Computes the hafnian of a nonnegative integer matrix. Notes: Copy hafnian.c to main.c, in the same directory as Rothberg s code (see above). You can download the .tar directory with the code weighted-match.tar here. Then "make" the codes (this codes are in C, not C++). The program is then RUN by the command "wmatch".
标签: hafnian nonnegative the Computes
上传时间: 2013-12-23
上传用户:lmeeworm
加密算法 Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives: - To generate an RSA key cryptest g - To encrypt and decrypt a string using RSA cryptest r - To calculate MD5, SHS, and RIPEMD-160 message digests: cryptest m file - To encrypt and decrypt a string using DES-EDE in CBC mode: cryptest t - To encrypt or decrypt a file cryptest e|d input output - To share a file into shadows: cryptest s <pieces> <pieces-needed> file (make sure file has no extension, if you re RUNning this under DOS) - To reconstruct a file from shadows: cryptest j output file1 file2 [....] - To gzip a file: cryptest z <compression-level> input output - To gunzip a file: cryptest u input output - To RUN validation tests: cryptest v - To RUN benchmarks: cryptest b [time for each benchmark in seconds]
标签: Cryptographic Primitives generate Library
上传时间: 2015-07-16
上传用户:wqxstar
encode.v The encoder syndrome.v Syndrome generator in decoder berlekamp.v Berlekamp algorithm in decoder chien-search.v Chien search and Forney algorithm in decoder decode.v The top module of the decoder inverse.v Computes multiplication inverse of an Galois field element test-bench.v The test fixture, and some brief notes on using the modules. data-rom.v A simple data source for testing RUN For those intelligence-challenged who can t RUN verilog LGPL The license
标签: Berlekamp berlekamp algorithm generator
上传时间: 2014-02-16
上传用户:fxf126@126.com
his project was built and tested with WinAVR-20060125. Make sure the MCU target define in the Makefiles corresponds to the AVR you are using!! To build the code, just install WinAVR and RUN "make" from the console in echomaster and echoslave subdirs. "make program" will program the device if you have a AVRISP attached. Remember to set the AVR device to at least 8MHz. The AVR may use the programmable clock from MC1319x, just remember to check if the MC1319x and SPI communication is working FIRST! Otherwise you wont get any clock signal to the AVR and then you can t program it or reset the fuses! The MC1319x has default clock output of 32kHz so you will have to set your programmer to a very low frequency (<=32kHz/4) to be able to program it while it is RUNning on that!
标签: the 20060125 project WinAVR
上传时间: 2014-10-10
上传用户:yan2267246
处理机调度,编写一个进程调度程序,允许多个进程共行的进程调度程序。 进程调度算法:采用最高优先数优先的调度算法(即把处理机分配给优先数最高的进程)和先来先服务算法。 每个进程有一个进程控制块(PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 进程的优先数及需要的运行时间可以事先人为地指定(也可以由随机数产生)。进程的到达时间为输入进程的时间。 进程的运行时间以时间片为单位进行计算。 每个进程的状态可以是就绪 W(Wait)、运行R(RUN)、或完成F(Finish)三种状态之一。 就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。 如果运行一个时间片后,进程的已占用 CPU时间已达到所需要的运行时间,则撤消该进程,如果运行一个时间片后进程的已占用CPU时间还未达所需要的运行时间,也就是进程还需要继续运行,此时应将进程的优先数减1(即降低一级),然后把它插入就绪队列等待CPU。 每进行一次调度程序都打印一次运行进程、就绪队列、以及各个进程的 PCB,以便进行检查。 重复以上过程,直到所要进程都完成为止
上传时间: 2013-11-26
上传用户:tianjinfan
This a software RUNing on the matlab, it is used in the channel coding simulation. It include DVB-S2 LDPC, Covolution turbo, and block turbo code, You can choose which channel coding to RUN. it RUN the encoder and add white noise in the channel, then it RUN the decoder, and compute the error rate.
标签: simulation the software channel
上传时间: 2015-08-06
上传用户:
maven 2.0 The following instructions show how to install Maven 2: 1) Unpack the archive where you would like to store the binaries, eg: tar zxvf maven-2.0.tar.gz or unzip maven-2.0.zip 2) A directory called "maven-2.0" will be created. 3) Add the bin directory to your PATH, eg: export PATH=/usr/local/maven-2.0/bin:$PATH or set PATH="c:\program files\maven-2.0\bin" %PATH% 4) Make sure JAVA_HOME is set to the location of your JDK 5) RUN "mvn --version" to verify that it is correctly installed.
标签: instructions following archive install
上传时间: 2014-01-19
上传用户:weiwolkt
将该实例的源代码,比如1.c文件(在【001】目录下)拷贝到【c:\tc】目录下,在MS-DOS方式下运行tc.exe,打开编译器,在TC中,按【F3】键或者“File->Open”菜单命令,打开1.c文件,按【Ctrl+F9】键,或者“RUN->RUN”菜单命令,编译运行该程
标签: 源代码
上传时间: 2014-11-29
上传用户:mikesering
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware. It consists of a loadable kernel module (kvm.ko) and a userspace component. Using KVM, one can RUN multiple virtual machines RUNning unmodified Linux or Windows images. Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc. The kernel component of KVM is included in mainline Linux, and will appear in Linux 2.6.20. KVM is open source software.
标签: virtualization Kernel-based for hardware
上传时间: 2015-08-20
上传用户:lijianyu172