Changeset 780 for cpp/frams/genetics


Ignore:
Timestamp:
05/14/18 17:53:10 (7 years ago)
Author:
Maciej Komosinski
Message:

Added sources for genetic encodings fB, fH, fL

Location:
cpp/frams/genetics
Files:
22 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/defgenoconv.cpp

    r779 r780  
    4343#include "fn/fn_conv.h"
    4444#endif
     45#ifdef USE_GENCONV_fBH
     46#include "fB/fB_conv.h"
     47#endif
     48#ifdef USE_GENCONV_fH0
     49#include "fH/fH_conv.h"
     50#endif
     51#ifdef USE_GENCONV_fL0
     52#include "fL/fL_conv.h"
     53#endif
    4554
    4655void DefaultGenoConvManager::addDefaultConverters()
     
    8291        addConverter(new GenoConv_fn0);
    8392#endif
     93#ifdef USE_GENCONV_fBH
     94        addConverter(new GenoConv_fBH);
     95#endif
     96#ifdef USE_GENCONV_fH0
     97        addConverter(new GenoConv_fH0);
     98#endif
     99#ifdef USE_GENCONV_fL0
     100        addConverter(new GenoConv_fL0);
     101#endif
    84102
    85103        param.updatetab();
  • cpp/frams/genetics/gen-config-SDK.h

    r748 r780  
    2121#define USE_GENCONV_fF0
    2222#define USE_GENCONV_fn0
     23#define USE_GENCONV_fBH
     24#define USE_GENCONV_fH0
     25#define USE_GENCONV_fL0
    2326
    2427//#define USE_GENMAN_f0
     
    3235#define USE_GENMAN_fT
    3336#define USE_GENMAN_fn
     37#define USE_GENMAN_fB
     38#define USE_GENMAN_fH
     39#define USE_GENMAN_fL
  • cpp/frams/genetics/genman.cpp

    r779 r780  
    5959#ifdef USE_GENMAN_fT
    6060#include "fT/fTest_oper.h"
     61#endif
     62#ifdef USE_GENMAN_fB
     63#include "fB/fB_oper.h"
     64#endif
     65#ifdef USE_GENMAN_fH
     66#include "fH/fH_oper.h"
     67#endif
     68#ifdef USE_GENMAN_fL
     69#include "fL/fL_oper.h"
    6170#endif
    6271
     
    158167#ifdef USE_GENMAN_fT
    159168        oper_fx_list.push_back(new GenoOper_fTest);
     169#endif
     170#ifdef USE_GENMAN_fB
     171        oper_fx_list.push_back(new Geno_fB);
     172#endif
     173#ifdef USE_GENMAN_fH
     174        oper_fx_list.push_back(new Geno_fH);
     175#endif
     176#ifdef USE_GENMAN_fL
     177        oper_fx_list.push_back(new Geno_fL);
    160178#endif
    161179
Note: See TracChangeset for help on using the changeset viewer.