source: cpp/frams/genetics/defgenoconv.cpp @ 748

Last change on this file since 748 was 748, checked in by Maciej Komosinski, 7 years ago

Configured and activated the new "fn" genetic representation

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
4
5#include "defgenoconv.h"
6
7#include GEN_CONFIG_FILE
8
9#ifdef USE_GENCONV_f10
10#include "f1/conv_f1.h"
11#endif
12#ifdef USE_GENCONV_f20
13#include "f2/conv_f2.h"
14#endif
15#ifdef USE_GENCONV_f32
16#include "f3/conv_f3.h"
17#endif
18#ifdef USE_GENCONV_f40
19#include "f4/conv_f4.h"
20#endif
21#ifdef USE_GENCONV_f41_TEST
22#include "f4/conv_f4.h"
23#endif
24#ifdef USE_GENCONV_f50
25#include "f5/conv_f5.h"
26#endif
27#ifdef USE_GENCONV_f60
28#include "f6/geno_f6.h"
29#endif
30#ifdef USE_GENCONV_f70
31#include "f7/conv_f7.h"
32#endif
33#ifdef USE_GENCONV_f81     
34#include "f8/conv_f8tof1.h"
35#endif
36#ifdef USE_GENCONV_f90
37#include "f9/conv_f9.h"
38#endif
39#ifdef USE_GENCONV_fF0
40#include "fF/conv_fF.h"
41#endif
42#ifdef USE_GENCONV_fn0
43#include "fn/conv_fn.h"
44#endif
45
46void DefaultGenoConvManager::addDefaultConverters()
47{
48#ifdef USE_GENCONV_f10
49        addConverter(new GenoConv_f1());
50#endif
51#ifdef USE_GENCONV_f20
52        addConverter(new GenoConv_f20());
53#endif
54#ifdef USE_GENCONV_f32
55        addConverter(new GenoConv_f32());
56#endif
57#ifdef USE_GENCONV_f40
58        addConverter(new GenoConv_f40());
59#endif
60#ifdef USE_GENCONV_f41_TEST
61        addConverter(new GenoConv_f41_TestOnly());
62#endif
63#ifdef USE_GENCONV_f50
64        addConverter(new GenoConv_f50);
65#endif
66#ifdef USE_GENCONV_f60
67        addConverter(new GenoConv_f60);
68#endif
69#ifdef USE_GENCONV_f70
70        addConverter(new GenoConv_f70);
71#endif
72#ifdef USE_GENCONV_f81
73        addConverter(new GenoConv_F8ToF1()); //uncompilable for now... needs lemon, and still borland complains for a hundred of unknown reasons with all kinds of nonsense messages :/
74#endif
75#ifdef USE_GENCONV_f90
76        addConverter(new GenoConv_f90);
77#endif
78#ifdef USE_GENCONV_fF0
79        addConverter(new GenoConv_fF0);
80#endif
81#ifdef USE_GENCONV_fn0
82        addConverter(new GenoConv_fn0);
83#endif
84
85        param.updatetab();
86}
Note: See TracBrowser for help on using the repository browser.