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

📄 fet.h

📁 ASP.NET 在线项目注册系统
💻 H
字号:
/*File fet.h*/  /*Copyright 2002, 2003 Lalescu Liviu.This file is part of FET.FET is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.FET is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with timetable; if not, write to the Free SoftwareFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/#ifndef FET_H#define FET_H#include "genetictimetable_defs.h"#include "genetictimetable.h"#include <fstream>using namespace std;/**The one and only instantiation of the main class.*/extern GeneticTimetable gt;/**Log file*/extern ofstream logg;/**The name of the file from where the rules are read.*/extern QString INPUT_FILENAME_XML;     /***The simulation parameters***//**Simulation parameter, read from the timetable.ini file*/extern time_t timelimit;/**Simulation parameter, read from the fet.ini file*/extern int population_number;/**Simulation parameter, read from the fet.ini file*/extern int evolution_method;/**Simulation parameter, read from the fet.ini file*/extern int init_method;/**Simulation parameter, read from the file "fet.ini"It represents the maximum allowed number of generations to generate*/extern int max_generations;/**The timetable for the teachers, for the first week*/extern int16 teachers_timetable_week1[MAX_TEACHERS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];/**The timetable for the teachers, for the second week*/extern int16 teachers_timetable_week2[MAX_TEACHERS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];/**The timetable for the students, for the first week*/extern int16 students_timetable_week1[MAX_TOTAL_SUBGROUPS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];/**The timetable for the students, for the second week*/extern int16 students_timetable_week2[MAX_TOTAL_SUBGROUPS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];/**The timetable for the rooms, for the first week*/extern int16 rooms_timetable_week1[MAX_ROOMS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];/**The timetable for the rooms, for the second week*/extern int16 rooms_timetable_week2[MAX_ROOMS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];void readSimulationParameters();void writeSimulationParameters();void writeDefaultSimulationParameters();/**The main function.*/int main(int argc, char **argv);#endif

⌨️ 快捷键说明

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