source: cpp/frams/genetics/fS/fS_conv.h @ 1277

Last change on this file since 1277 was 1030, checked in by Maciej Komosinski, 4 years ago

fS: refactoring

File size: 661 bytes
RevLine 
[958]1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 2019-2020  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
4
5#ifndef _FS_CONV_H_
6#define _FS_CONV_H_
7
8#include "fS_general.h"
9#include "frams/util/multimap.h"
10
11/**
[1006]12 * Genotype converter from fS to f0s.
[958]13 */
[1017]14class GenoConv_fS0s : public GenoConverter
[958]15{
16public:
[1017]17        GenoConv_fS0s() : GenoConverter()
[958]18        {
[1030]19                name = "Solids tree-structure encoding";
[958]20
[1000]21                in_format = "S";
22                out_format = "0s";
[958]23                mapsupport = 1;
24        }
25
26        /// Return empty string if can not convert
27        SString convert(SString &i, MultiMap *map, bool using_checkpoints);
28
[1017]29        ~GenoConv_fS0s()
[958]30        {};
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.