ts-aggregator/project_template/Param.cpp
2022-12-13 12:36:06 +04:00

36 lines
635 B
C++

#include "StdAfx.h"
#include "Param.h"
#include "string.h"
#include <sstream>
Param::Param() {
alpha =0;
delta =0;
gamma =0;
phi =0;
countRulesIn =0;
countFuzzyParts =0;
sizeLabels =1;
lb1 = 0;
rb1 = 0;
lb2 = 0;
rb2 = 0;
}
string Param::toString() {
stringstream ss1;
ss1 << "alpha: " <<alpha <<
" delta " << delta <<
" gamma: " << gamma <<
" phi: " << phi <<
" countRulesIn: " << countRulesIn <<
" countFuzzyParts: " << countFuzzyParts <<
" sizeLabels: " << sizeLabels <<
" lb1: " << lb1 <<
" rb1: " << rb1 <<
" lb2: " << lb2 <<
" rb2: " << rb2;
return ss1.str();
}