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

📄 genome.h

📁 遗传算法的源程序例子
💻 H
字号:
/* ----------------------------------------------------------------------------  genome.h  mbwall 5dec95  Copyright (c) 1995-1996 Massachusetts Institute of Technology DESCRIPTION:   This file contains the information needed to evaluate an operate on a genome in these examples.---------------------------------------------------------------------------- */#ifndef _genome_h_#define _genome_h_#include <ga/ga.h>float GenomeEvaluator(GAGenome&);void GenomeInitializer(GAGenome&);void PopulationInitializer(GAPopulation&);void PopulationEvaluator(GAPopulation&);int SendGenomeData(GAGenome&, int);int RecvGenomeData(GAGenome&);int SendGenomeScore(GAGenome&, int);int RecvGenomeScore(GAGenome&);int SendGenomeInitialize(GAGenome&, int);int RecvGenomeInitialize(GAGenome&);int SendReady(int);typedef struct _PVMData {  int masterid;  int* tid;		// task ids of all slave processes  int ntasks;		// number of slave tasks that are running  int nreq;		// number of tasks that we asked for} PVMData, *PVMDataPtr, **PVMDataHdl; const int MSG_READY=10;const int MSG_DONE=100;const int MSG_GENOME_DATA=50;const int MSG_GENOME_SCORE=51;const int MSG_GENOME_INITIALIZE=52;#endif

⌨️ 快捷键说明

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