📄 fuzzy_c_mean.h
字号:
// fuzzy_c_mean.h: Schnittstelle f黵 die Klasse Cfuzzy_c_mean.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FUZZY_C_MEAN_H__33BD2891_D58E_11D3_970D_00E018907D96__INCLUDED_)
#define AFX_FUZZY_C_MEAN_H__33BD2891_D58E_11D3_970D_00E018907D96__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Vektor.h"
#include "Matrix.h"
class Cfuzzy_c_mean
{
public:
int n; // Anzahl der Inputvekoren
int p; // Anzahl Dimension des Inputvekors x
int m; // Berechnungsparmater normalerweise 2
int c; // Anzahl Clustors
int anz_benoetigete_Iterationen;
double Jm; // evaluation Function
CMatrix At, Att,v, x;
Cfuzzy_c_mean(int in, int ip, int im, int ic);
virtual ~Cfuzzy_c_mean();
double abstand_x_v(int k, int i);
double JmA(CMatrix* A_m);
void cluster_v(CMatrix* A_m);
void setArandom(CMatrix* A_m);
int fuzzy_c_mean_cal();
int einlesen_Matrix(char* pfad_str, CMatrix* M, int anz_zeilen, int anz_Spalten);
double diff_A(CMatrix* A1, CMatrix* A2);
void ausgabeErgebnisse();
void printErgebnisse();
int trimStrEnds (char* string);
int hole_naechstes_wort(char* zeilex, char* wortx);
double zufall();
};
#endif // !defined(AFX_FUZZY_C_MEAN_H__33BD2891_D58E_11D3_970D_00E018907D96__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -