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

📄 new_perm.h

📁 在任务级并行平台P2HP上开发的demo应用
💻 H
字号:
/*******************************************************
***                                                  ***
***                  一、程序预处理                  ***
***                                                  ***
*******************************************************/
#include <vcl.h>
#pragma hdrstop
#include<math.h>
#include<conio.h>
#include<stdio.h>
#include<stdlib.h>
#include<time.h>

#define Num 103
//double C0 = 50000;                             // 链长
double C0 = 100 ;                           // 系数
extern long int Number_Len[ Num ];           // 长度为 i 的链的数量

/*******************************************************
***                                                  ***
***                  二、全局变量定义                ***
***                                                  ***
*******************************************************/
extern int Best_Energy;             // 找到的最优势能   //******这个的作用是什么呢???
extern int New_Best_Energy;         // 新定义下找到的最优势能
extern int Optimized_Energy;               // 客观最优势能值

extern int Time_Start,Time_End ;           //算法运行起止时间

void   Reading_Data( ) ;
void   Reverting_Data( ) ;
void    Reading_Fig( ) ;
void   Initializing( ) ;
void   Drawing( ) ;
int    New_Perm( ) ;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -