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

📄 algorithmstate.h

📁 遗传算法的四个源程序和源代码
💻 H
字号:
/*! \file AlgorithmState.h    \brief This file contains declaration of GaAlgorithmState datatype.*//* *  * website: http://www.coolsoft-sd.com/ * contact: support@coolsoft-sd.com * */
/*
 * Genetic Algorithm Library
 * Copyright (C) 2007-2008 Coolsoft Software Development
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 */
#ifndef __GA_ALGORITHM_STATE_H__#define __GA_ALGORITHM_STATE_H__namespace Algorithm{	/// <summary>This enumeration defines states of an algorithm.</summary>	enum GaAlgorithmState	{		/// <summary>algorithm its populations and other control and data structures is not initialized.</summary>		GAS_UNINITIALIZED = 0x1, 		/// <summary>algorithm execution is stopped by the user.</summary>		GAS_USER_STOPED = 0x2, 		/// <summary>algorithm reached given criteria and it is stopped.</summary>		GAS_CRITERIA_STOPPED = 0x4, 		/// <summary>temporary paused, but it can resume execution at any time.</summary>		GAS_PAUSED = 0x8, 		/// <summary>algorithm is running.</summary>		GAS_RUNNING = 0x10, 		/* --- combined states --- */		/// <summary>used for testing of state of an algorithm and includes all states except running state.</summary>		GAS_NOT_RUNNING = 0xF, 		/// <summary>used to test an algorithm, for one of two possible stopped states.</summary>		GAS_STOPPED = 0x6	};} // Algorithm#endif // __GA_ALGORITHM_STATE_H__

⌨️ 快捷键说明

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