您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ Beagle_StackTraceBeginM函数代码示例

51自学网 2021-06-01 19:54:48
  C++
这篇教程C++ Beagle_StackTraceBeginM函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中Beagle_StackTraceBeginM函数的典型用法代码示例。如果您正苦于以下问题:C++ Beagle_StackTraceBeginM函数的具体用法?C++ Beagle_StackTraceBeginM怎么用?C++ Beagle_StackTraceBeginM使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了Beagle_StackTraceBeginM函数的29个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: setFileName

	/*!	 *  /brief Set the file name where the exception is detected (throwed).	 *  /param inFileName File name where the exception is detected.	 */	inline void setFileName(const std::string& inFileName)	{		Beagle_StackTraceBeginM();		mFileName = inFileName;		Beagle_StackTraceEndM("void TargetedException::setFileName(const std::string& inFileName)");	}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:10,


示例2: insertNegativeOp

	/*!	 *  /brief Insert an operator in the negative set of the if-then-else operator.	 *  /param inOperator Operator to insert.	 *  /warning Insert your operators before the initialization!	 */	void insertNegativeOp(Beagle::Operator::Handle inOperator) {		Beagle_StackTraceBeginM();		mNegativeOpSet.push_back(inOperator);		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:10,


示例3: setConditionValue

	/*!	 *  /brief Set parameter value of condition to use.	 */	inline void setConditionValue(std::string inValue) {		Beagle_StackTraceBeginM();		mConditionValue = inValue;		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:8,


示例4: setValid

 /*!  *  /brief Validate the fitness.  */ inline void setValid() {     Beagle_StackTraceBeginM();     mValid = true;     Beagle_StackTraceEndM(); }
开发者ID:falcong,项目名称:beagle-1,代码行数:8,


示例5: getPositiveSet

	/*!	 *  /brief Return a constant reference to the positive operator set.	 *  /return Positive operator set constant reference.	 */	inline const Beagle::Operator::Bag& getPositiveSet() const {		Beagle_StackTraceBeginM();		return mPositiveOpSet;		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:9,


示例6: getWrappedValue

	/*!	 *  /brief Get the wrapped type value.	 *  /return A constant reference to the wrapped value.	 */	inline const T& getWrappedValue() const {		Beagle_StackTraceBeginM();		return mWrappedValue;		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:9,


示例7: isValid

 /*!  *  /brief Return validity of the fitness.  *  /return True if fitness is valid, false if not.  */ inline bool isValid() const {     Beagle_StackTraceBeginM();     return mValid;     Beagle_StackTraceEndM(); }
开发者ID:falcong,项目名称:beagle-1,代码行数:9,


示例8: Beagle_StackTraceBeginM

/*! *  /brief  Test whether an string is not equal to another. *  /param  inLeftString  Left string compared. *  /param  inRightString Right string compared. *  /return True if left string is not equal to the right one, false if it is. *  /par Note: *    The operator is defined relatively to the function isEqual of Beagle::String. */inline bool operator!=(const Beagle::String& inLeftString, const Beagle::String& inRightString){	Beagle_StackTraceBeginM();	return ( inLeftString.isEqual(inRightString) == false);	Beagle_StackTraceEndM("bool operator!=(const String& inLeftString, const String& inRightString)");}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:14,


示例9: setNumThreads

	/*!	/brief Set the number of threads that OpenMP will use in the parallel sections.	 *	/param iNumThreads is the number of threads to use.	 */	inline virtual void	setNumThreads(unsigned int inNumThreads){		Beagle_StackTraceBeginM();		omp_set_num_threads(inNumThreads);		Beagle_StackTraceEndM("unsigned int OpenMP::setNumThreads(unsigned int)");	}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:8,


示例10: getThreadNum

	/*!	/brief	 *	/return	 */	inline unsigned int getThreadNum() const{		Beagle_StackTraceBeginM();		return omp_get_thread_num();		Beagle_StackTraceEndM("unsigned int OpenMP::getThreadNum() const");	}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:8,


示例11: inParallelSection

	/*!	/brief	 *	/return	 */	inline bool	inParallelSection() const{		Beagle_StackTraceBeginM();		return (omp_in_parallel()>0)?true:false;		Beagle_StackTraceEndM("unsigned int OpenMP::inParallelSection() const");	}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:8,


示例12: getNumProcs

	/*!	/brief Ask OpenMP how many processors are available.	 *	/return The number of processors on this machine.	 */	inline unsigned int getNumProcs() const{		Beagle_StackTraceBeginM();		return omp_get_num_procs();		Beagle_StackTraceEndM("unsigned int OpenMP::getNumProcs() const");	}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:8,


示例13: setLineNumber

	/*!	 *  /brief Set the line number in the file where the exception is detected (throwed).	 *  /param inLineNumber Line number in the file where the exception is detected.	 */	inline void setLineNumber(unsigned int inLineNumber)	{		Beagle_StackTraceBeginM();		mLineNumber = inLineNumber;		Beagle_StackTraceEndM("void TargetedException::setLineNumber(unsigned int inLineNumber)");	}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:10,


示例14: getNumberOfEmigrants

	/*!	 *  /brief Return number of emigrants available in current migration buffer.	 *  /return Number of emigrants available in current migration buffer.	 */	inline unsigned int getNumberOfEmigrants() const	{		Beagle_StackTraceBeginM();		return mEmigrants.size();		Beagle_StackTraceEndM("unsigned int MigrationBuffer::getNumberOfEmigrants() const");	}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:10,


示例15: Beagle_StackTraceBeginM

/*! *  /brief  Test whether an unsigned long is less than, or equal to another. *  /param  inLeftULong  Left unsigned long compared. *  /param  inRightULong Right unsigned long compared. *  /return True if left unsigned long is less than, or equal to the right one, false if not. *  /par Note: *    The operator is defined relatively to the functions isLess and isEqual of Beagle::ULong. */inline bool operator<=(const Beagle::ULong& inLeftULong, const Beagle::ULong& inRightULong){	Beagle_StackTraceBeginM();	return ( inLeftULong.isLess(inRightULong) || inLeftULong.isEqual(inRightULong) );	Beagle_StackTraceEndM("bool operator<=(const ULong& inLeftULong, const ULong& inRightULong)");}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:14,


示例16: T

	/*!	 *  /brief Cast the actual wrapper type into the wrapped type.	 *  /return A reference to the wrapped value.	 */	inline operator T() const {		Beagle_StackTraceBeginM();		return mWrappedValue;		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:9,


示例17: getPositiveSet

 /*!  *  /brief Return a constant reference to the positive operator set.  *  /return Positive operator set constant reference.  */ inline const Operator::Bag& getPositiveSet() const {     Beagle_StackTraceBeginM();     return mPositiveOpSet;     Beagle_StackTraceEndM("const Operator::Bag& IfThenElseOp::getPositiveSet() const"); }
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:10,


示例18: setWrappedValue

	/*!	 *  /brief Set the wrapped type value.	 *  /param inNewValue Set the wrapped value.	 */	inline void setWrappedValue(const T& inNewValue) {		Beagle_StackTraceBeginM();		mWrappedValue = inNewValue;		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:9,


示例19: getNegativeSet

 /*!  *  /brief Return a reference to the negative operator set.  *  /return Negative operator set reference.  */ inline Operator::Bag& getNegativeSet() {     Beagle_StackTraceBeginM();     return mNegativeOpSet;     Beagle_StackTraceEndM("Operator::Bag& IfThenElseOp::getNegativeSet()"); }
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:10,


示例20: setInvalid

 /*!  *  /brief Invalidate the fitness.  */ inline void setInvalid() {     Beagle_StackTraceBeginM();     mValid = false;     Beagle_StackTraceEndM(); }
开发者ID:falcong,项目名称:beagle-1,代码行数:8,


示例21: insertPositiveOp

 /*!  *  /brief Insert an operator in the positive set of the if-then-else operator.  *  /param inOperator Operator to insert.  *  /warning Insert your operators before the initialization!  */ inline void insertPositiveOp(Operator::Handle inOperator) {     Beagle_StackTraceBeginM();     mPositiveOpSet.push_back(inOperator);     Beagle_StackTraceEndM("void insertPositiveOp(Operator::Handle)"); }
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:11,


示例22: Beagle_StackTraceBeginM

/*! *  /brief Mate two indice integer vector GA individuals for partialy matched crossover. *  /param ioIndiv1   First individual to mate. *  /param ioContext1 Evolutionary context of the first individual. *  /param ioIndiv2   Second individual to mate. *  /param ioContext2 Evolutionary context of the second individual. *  /return True if the individuals are effectively mated, false if not. */bool Beagle::GA::CrossoverPMXOp::mate(Beagle::Individual& ioIndiv1,									  Beagle::Context&    ioContext1,									  Beagle::Individual& ioIndiv2,									  Beagle::Context&    ioContext2){	Beagle_StackTraceBeginM();	unsigned int lNbGenotypes = minOf<unsigned int>(ioIndiv1.size(), ioIndiv2.size());	if(lNbGenotypes == 0) return false;		Beagle_LogDebugM(					 ioContext1.getSystem().getLogger(),					 "crossover", "Beagle::GA::CrossoverPMXOp",					 "Individuals mated (before GA partily matched crossover)"					 );	Beagle_LogObjectDebugM(						   ioContext1.getSystem().getLogger(),						   "crossover", "Beagle::GA::CrossoverPMXOp",						   ioIndiv1						   );	Beagle_LogObjectDebugM(						   ioContext1.getSystem().getLogger(),						   "crossover", "Beagle::GA::CrossoverPMXOp",						   ioIndiv2						   );		for(unsigned int i=0; i<lNbGenotypes; ++i) {		GA::IntegerVector::Handle lIndividual1 = castHandleT<IntegerVector>(ioIndiv1[i]);		GA::IntegerVector::Handle lIndividual2 = castHandleT<IntegerVector>(ioIndiv2[i]);				std::deque<int> lIndividual1Copy(lIndividual1->begin(), lIndividual1->end());		std::deque<int> lIndividual2Copy(lIndividual2->begin(), lIndividual2->end());				unsigned int lSize = minOf<unsigned int>(lIndividual1->size(), lIndividual2->size());		unsigned int a = ioContext1.getSystem().getRandomizer().rollInteger(0, lSize-1);		unsigned int b = ioContext1.getSystem().getRandomizer().rollInteger(0, lSize-1);				if(a > b){std::swap(a, b);}		for(unsigned int j = a; j <= b; ++j){			for(unsigned int k = 0; k < lSize; ++k){				if((*lIndividual1)[k] == lIndividual1Copy[j])					(*lIndividual1)[k] = lIndividual2Copy[j];				else if((*lIndividual1)[k] == lIndividual2Copy[j])					(*lIndividual1)[k] = lIndividual1Copy[j];								if((*lIndividual2)[k] == lIndividual1Copy[j])					(*lIndividual2)[k] = lIndividual2Copy[j];				else if((*lIndividual2)[k] == lIndividual2Copy[j])					(*lIndividual2)[k] = lIndividual1Copy[j];			}		}	}		Beagle_LogDebugM(					 ioContext1.getSystem().getLogger(),					 "crossover", "Beagle::GA::CrossoverPMXOp",					 "Individuals mated (after GA partialy matched crossover)"					 );	Beagle_LogObjectDebugM(						   ioContext1.getSystem().getLogger(),						   "crossover",						   "Beagle::GA::CrossoverPMXOp",						   ioIndiv1						   );	Beagle_LogObjectDebugM(						   ioContext1.getSystem().getLogger(),						   "crossover",						   "Beagle::GA::CrossoverPMXOp",						   ioIndiv2						   );		return true;	Beagle_StackTraceEndM("bool GA::CrossoverPMXOp::mate(Individual& ioIndiv1, Context& ioContext1, Individual& ioIndiv2, Context& ioContext2)");}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:81,


示例23: setConditionTag

 /*!  *  /brief Set parameter tag of condition to use.  */ inline void setConditionTag(std::string inTag) {     Beagle_StackTraceBeginM();     mConditionTag = inTag;     Beagle_StackTraceEndM("void IfThenElseOp::setConditionTag(std::string inTag)"); }
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:9,


示例24: getNegativeSet

	/*!	 *  /brief Return a reference to the negative operator set.	 *  /return Negative operator set reference.	 */	inline Beagle::Operator::Bag& getNegativeSet() {		Beagle_StackTraceBeginM();		return mNegativeOpSet;		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:9,


示例25: setConditionValue

 /*!  *  /brief Set parameter value of condition to use.  */ inline void setConditionValue(std::string inValue) {     Beagle_StackTraceBeginM();     mConditionValue = inValue;     Beagle_StackTraceEndM("void IfThenElseOp::setConditionValue(std::string inValue)"); }
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:9,


示例26: setConditionTag

	/*!	 *  /brief Set parameter tag of condition to use.	 */	inline void setConditionTag(std::string inTag) {		Beagle_StackTraceBeginM();		mConditionTag = inTag;		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:8,


示例27: getConditionValue

 /*!  *  /return Condition value tested for positive condition in if-then-else operator.  */ inline std::string getConditionValue() const {     Beagle_StackTraceBeginM();     return mConditionValue;     Beagle_StackTraceEndM("std::string IfThenElseOp::getConditionValue() const"); }
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:9,


示例28: getConditionValue

	/*!	 *  /return Condition value tested for positive condition in if-then-else operator.	 */	inline std::string getConditionValue() const {		Beagle_StackTraceBeginM();		return mConditionValue;		Beagle_StackTraceEndM();	}
开发者ID:AngelGate,项目名称:beagle,代码行数:8,


示例29: getRegisterHandle

	//! Return a handle to the register.	inline Register::Handle getRegisterHandle(void)	{		Beagle_StackTraceBeginM();		return mRegister;		Beagle_StackTraceEndM("Register::Handle System::getRegisterHandle(void)");	}
开发者ID:splodginald,项目名称:MPI-PACC-OpenBeagle,代码行数:7,



注:本文中的Beagle_StackTraceBeginM函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ BeamOp函数代码示例
C++ BcAssert函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。