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

📄 genetictimetable_defs.cpp

📁 基于遗传算法的排课软件源码 根据需要安排合理的课程时间等
💻 CPP
字号:
/***************************************************************************                          genetictimetable_defs.cpp  -  description                             -------------------    begin                : Sat Mar 15 2003    copyright            : (C) 2003 by Lalescu Liviu    email                : liviu@lalescu.ro ***************************************************************************//*************************************************************************** *                                                                         * *   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.                                   * *                                                                         * ***************************************************************************/#include "genetictimetable_defs.h"/**FET version*/const QString FET_VERSION="3.17.11";/**FET language*/QString FET_LANGUAGE="EN";/**Probability for Evolution1 Crossover, in percents*/int METHOD1_CROSSOVER_PROBABILITY;/**Probability for Evolution1 Mutation1, in percents*/int METHOD1_MUTATION1_PROBABILITY;/**Probability for Evolution1 Mutation2, in percents*/int METHOD1_MUTATION2_PROBABILITY;/**Probability for Evolution2 Crossover, in percents*/int METHOD2_CROSSOVER_PROBABILITY;/**Probability for Evolution2 Mutation1, in percents*/int METHOD2_MUTATION1_PROBABILITY;/**Probability for Evolution2 Mutation2, in percents*/int METHOD2_MUTATION2_PROBABILITY;/**Probability for Evolution2 propagation, in percents*/int METHOD2_PROPAGATION_PROBABILITY;QString protect(const QString& str) //used for xml{	QString p=str;	p.replace("&", "&amp;");	p.replace("\"", "&quot;");	p.replace(">", "&gt;");	p.replace("<", "&lt;");	p.replace("'", "&apos;");	return p;}QString protect2(const QString& str) //used for html{	QString p=str;	p.replace("&", "&amp;");	p.replace("\"", "&quot;");	p.replace(">", "&gt;");	p.replace("<", "&lt;");	//p.replace("'", "&apos;");	return p;}

⌨️ 快捷键说明

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