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

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

Used std::min(), std::max() explicitly to avoid compiler confusion. Used std::size() explicitly instead of the equivalent macro

File size: 693 bytes
Line 
1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2021  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#include <common/nonstd_stl.h>
10
11// The fn->f0 converter
12class GenoConv_fn0 : public GenoConverter
13{
14public:
15        GenoConv_fn0();
16        //~GenoConv_fn0();
17        //implementation of the GenoConverter method
18        SString convert(SString &in, MultiMap *map, bool using_checkpoints);
19
20        static vector<double> stringToVector(const char *input); //returns empty vector on error
21        static string vectorToString(const vector<double> vec);
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.