acs.h
来自「暴力破解TSP中国邮递员问题的程序。使用数据为Oliver30.tsp」· C头文件 代码 · 共 20 行
H
20 行
/*
ANT-CYCLE ALGORITHM FOR TSP
File: acs.h
Author: ehui928
Purpose: some constants and functions used for acs
Date: 2007-01-18
*/
#ifndef __ACS_H__
#define __ACS_H__
void initialize_pheromone();
void reset_deltatao();
void caculate_probabilities();
int is_in_tour(int i, int j, int tour[], int n);
double find_best_tour();
void print_best_tour(int tour[], int n);
#endif /*__ACS_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?