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

📄 acs.h

📁 C语言版本的蚁群系统算法
💻 H
字号:
/*
      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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -