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

📄 tikeafexceptions.h

📁 多目标进化算法源代码
💻 H
字号:
/*******************************************************************************	TIKEAFExceptions.h		last change: 01/28/1999			version: 0.0.0			design:	Eckart Zitzler		Paul E. Sevinc				implementation:	Paul E. Sevinc			(c) 1998-1999:	Computer Engineering and Networks Laboratory			Swiss Federal Institute of Technology Zurich			description:		This file defines all exceptions used within FEMO,		the Framework for Evolutionary Multiobjective		Optimization.				All exceptions are subclasses of TIKEAFException.		(While in development, FEMO was code-named TIKEAF.)*******************************************************************************/#ifndef TIKEAF_EXCEPTIONS_H#define TIKEAF_EXCEPTIONS_H#include <string>#include "WithOutExceptions.h"using std::string;// never thrownclass TIKEAFException{	public:		string	message;					TIKEAFException() { message = ""; };					TIKEAFException( string s ) : message( s ) {};	};// thrown when a pointer argument is 0class NilException : public TIKEAFException{	public:		NilException() : TIKEAFException() {};				NilException( string s ) : TIKEAFException( s ) {};};// thrown when a probability parameter is not in [0; 1]class ProbabilityException : public TIKEAFException{	public:		ProbabilityException() : TIKEAFException() {};				ProbabilityException( string s ) : TIKEAFException( s ) {};};// thrown when other parameters than a probability are out of well-defined boundsclass LimitsException : public TIKEAFException{	public:		LimitsException() : TIKEAFException() {};				LimitsException( string s ) : TIKEAFException( s ) {};};#endif

⌨️ 快捷键说明

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