source: cpp/frams/genetics/fn/fn_conv.h @ 870

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

Unified file names of all files involved in genetic conversions and operations so that they start with "f<format>_"

File size: 661 bytes
Line 
1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2018  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
4
5#ifndef _Fn_CONV_H_
6#define _Fn_CONV_H_
7
8#include <frams/genetics/genoconv.h>
9
10// The fn->f0 converter
11class GenoConv_fn0 : public GenoConverter
12{
13public:
14        GenoConv_fn0();
15        //~GenoConv_fn0();
16        //implementation of the GenoConverter method
17        SString convert(SString &in, MultiMap *map, bool using_checkpoints);
18
19        static vector<double> stringToVector(const char *input); //returns empty vector on error
20        static string vectorToString(const vector<double> vec);
21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.