MOGAL
|
00001 /* 00002 00003 This file is a part of MOGAL, a Multi-Objective Genetic Algorithm 00004 Library. 00005 00006 Copyright (C) 2008-2012 Jori Liesenborgs 00007 00008 Contact: jori.liesenborgs@gmail.com 00009 00010 This library is free software; you can redistribute it and/or 00011 modify it under the terms of the GNU Lesser General Public 00012 License as published by the Free Software Foundation; either 00013 version 2.1 of the License, or (at your option) any later version. 00014 00015 This library is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 Lesser General Public License for more details. 00019 00020 You should have received a copy of the GNU Lesser General Public 00021 License along with this library; if not, write to the Free Software 00022 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 00023 USA 00024 00025 */ 00026 00027 #ifndef GASERVER_H 00028 00029 #define GASERVER_H 00030 00031 #include "mogalconfig.h" 00032 00033 #define GASERVER_MAXPACKSIZE (128*1024*1024) 00034 #define GASERVER_PACKID 0x5041434B 00035 00036 #define GASERVER_COMMAND_HELPER 1 00037 #define GASERVER_COMMAND_CLIENT 2 00038 #define GASERVER_COMMAND_BUSY 3 00039 #define GASERVER_COMMAND_ACCEPT 4 00040 #define GASERVER_COMMAND_KEEPALIVE 5 00041 #define GASERVER_COMMAND_FACTORY 6 00042 #define GASERVER_COMMAND_RESULT 7 00043 #define GASERVER_COMMAND_NOHELPERS 8 00044 #define GASERVER_COMMAND_CALCULATE 9 00045 #define GASERVER_COMMAND_FITNESS 10 00046 #define GASERVER_COMMAND_FACTORYRESULT 11 00047 #define GASERVER_COMMAND_CURRENTBEST 12 00048 #define GASERVER_COMMAND_GENERATIONINFO 13 00049 #define GASERVER_COMMAND_ISLANDHELPER 14 00050 #define GASERVER_COMMAND_ISLANDFINISHED 15 00051 #define GASERVER_COMMAND_ISLANDSTOP 16 00052 #define GASERVER_COMMAND_MIGRATEDGENOME 17 00053 #define GASERVER_COMMAND_BESTLOCALGENOME 18 00054 #define GASERVER_COMMAND_GENERATIONTIME 19 00055 00056 #endif // GASERVER_H