vectorarray.h

来自「数据挖掘经典的hierarchial clustering algorithm」· C头文件 代码 · 共 63 行

H
63
字号
/*
  ========================================================================
  DEVise Data Visualization Software
  (c) Copyright 1992-1996
  By the DEVise Development Group
  Madison, Wisconsin
  All Rights Reserved.
  ========================================================================

  Under no circumstances is this software to be copied, distributed,
  or altered in any way without prior permission from the DEVise
  Development Group.
*/

/*
  Header file for VectorArray class.
 */

/*
  $Id: VectorArray.h,v 1.2 1996/04/30 18:53:39 wenger Exp $

  $Log: VectorArray.h,v $
  Revision 1.2  1996/04/30 18:53:39  wenger
  Attrproj now generates a single projection of all attributes of the
  real data.

  Revision 1.1  1996/04/30 15:31:56  wenger
  Attrproj code now reads records via TData object; interface to Birch
  code now in place (but not fully functional).

 */

#ifndef _VectorArray_h_
#define _VectorArray_h_

#include "DeviseTypes.h"

#include "iostream.h"   // Needed for vector.h.
#include "fstream.h"    // Needed for vector.h.
#include "vector.h"


class VectorArray
{
public:
        VectorArray(int vectorCount);
        ~VectorArray();

        DevStatus Init(int vecNum, int vecDim);

        int GetVecCount();
        Vector *GetVector(int vecNum);

private:
        int                     _vectorCount;
        Vector *        _vectors;
};


#endif /* _VectorArray_h_ */

/*============================================================================*/

⌨️ 快捷键说明

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