mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2025-05-12 10:37:20 +00:00
missing file
This commit is contained in:
parent
3216caf16f
commit
36a68d9ecf
29
samplebrain/src/search_params.cpp
Normal file
29
samplebrain/src/search_params.cpp
Normal file
@ -0,0 +1,29 @@
|
||||
// Copyright (C) 2015 Foam Kernow
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either version 2 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include "search_params.h"
|
||||
|
||||
using namespace spiralcore;
|
||||
using namespace std;
|
||||
|
||||
ios &spiralcore::operator||(ios &s, search_params &p) {
|
||||
u32 version=0;
|
||||
string id("search_params");
|
||||
s||id||version;
|
||||
s||p.m_ratio||p.m_n_ratio||p.m_fft1_start||p.m_fft1_end;
|
||||
s||p.m_usage_importance||p.m_num_synapses||p.m_stickyness;
|
||||
return s;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user