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

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

fS: refactoring

File size: 661 bytes
Line 
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/**
12 * Genotype converter from fS to f0s.
13 */
14class GenoConv_fS0s : public GenoConverter
15{
16public:
17        GenoConv_fS0s() : GenoConverter()
18        {
19                name = "Solids tree-structure encoding";
20
21                in_format = "S";
22                out_format = "0s";
23                mapsupport = 1;
24        }
25
26        /// Return empty string if can not convert
27        SString convert(SString &i, MultiMap *map, bool using_checkpoints);
28
29        ~GenoConv_fS0s()
30        {};
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.