new_perm.h
来自「在任务级并行平台P2HP上开发的demo应用」· C头文件 代码 · 共 37 行
H
37 行
/*******************************************************
*** ***
*** 一、程序预处理 ***
*** ***
*******************************************************/
#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 + =
减小字号Ctrl + -
显示快捷键?