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

📄 sort_enrg.cc

📁 c++编写的并行拉马克遗传算法的程序。实现分析对接程序
💻 CC
字号:
/* sort_enrg.cc */#ifdef sgi    #include "sort_enrg.h"#else    extern "C"    {        #include "sort_enrg.h"    }#endifextern FILE *logFile;void sort_enrg( float econf[MAX_RUNS],                int isort[MAX_RUNS],		int nconf ){/*__________________________________________________________________________ | Sort conformations on energy                                             | |__________________________________________________________________________| | Searches through all conformations;  puts in isort[0] the index of the   | | lowest energy, in isort[1] the next lowest energy's index, and so on.    | |__________________________________________________________________________| | WARNING: Fails if any 2 or more econf[] energies are equal.              | |__________________________________________________________________________|*/    quicksort( econf, isort, 0, nconf-1 );}/* EOF */

⌨️ 快捷键说明

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