acs.h

来自「蚁群算法C程序」· C头文件 代码 · 共 19 行

H
19
字号
/*
      ANT-CYCLE ALGORITHM FOR TSP
      File:    acs.h
      Purpose: some constants and functions used for acs
     
*/
#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 + -
显示快捷键?