gcluster.h

来自「一个非常有用的开源代码」· C头文件 代码 · 共 40 行

H
40
字号
/*	Copyright (C) 2006, Mike Gashler	This library is free software; you can redistribute it and/or	modify it under the terms of the GNU Lesser General Public	License as published by the Free Software Foundation; either	version 2.1 of the License, or (at your option) any later version.	see http://www.gnu.org/copyleft/lesser.html*/#ifndef __GCLUSTER_H__#define __GCLUSTER_H__class GIntArray;class GArffRelation;class GArffData;class GNeighborClusterer{protected:	GIntArray* m_pClusters;	GIntArray* m_pVectors;	GNeighborClusterer(int nVectorCount);public:	static GNeighborClusterer* Cluster(GArffRelation* pRelation, GArffData* pData, int nNeighbors);	~GNeighborClusterer();	int GetClusterCount();	int GetClusterSize(int nCluster);	int GetVectorIndex(int nCluster, int nVector);#ifndef NO_TEST_CODE	static void Test();#endif // NO_TEST_CODE};#endif // __GCLUSTER_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?