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

Last change on this file since 1130 was 1130, checked in by Maciej Komosinski, 3 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
RevLine 
[747]1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
[1130]2// Copyright (C) 1999-2021  Maciej Komosinski and Szymon Ulatowski.
[747]3// See LICENSE.txt for details.
4
[779]5#ifndef _Fn_CONV_H_
6#define _Fn_CONV_H_
[747]7
8#include <frams/genetics/genoconv.h>
[1130]9#include <common/nonstd_stl.h>
[747]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.