binaryoutcomecurve.h

来自「粗糙集应用软件」· C头文件 代码 · 共 53 行

H
53
字号
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Revisions.....:
//===================================================================

#ifndef __BINARYOUTCOMECURVE_H__
#define __BINARYOUTCOMECURVE_H__

#include <copyright.h>

#include <kernel/structures/structure.h>

//-------------------------------------------------------------------
// Class.........: BinaryOutcomeCurve
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Abstract base class.
// Comments......:
// Revisions.....:
//===================================================================

class BinaryOutcomeCurve : public Structure {
protected:

  //- Constructors...................................................
  BinaryOutcomeCurve(const BinaryOutcomeCurve &in);

public:

  //- Constructors/destructor........................................
  BinaryOutcomeCurve();
  virtual ~BinaryOutcomeCurve();

  //- Methods inherited from Identifier..............................
	DECLAREIDMETHODS()

	//- Methods inherited from Persistent..............................
  virtual bool Load(ifstream &stream);

	//- New virtual methods............................................
  virtual bool Load(ifstream &stream, bool swap);
  virtual bool Load(const String &filename, bool swap);

	virtual bool Create(const Vector(int) &targets, const Vector(float) &outputs) = 0;

	//- New static methods.............................................
  static  bool Load(ifstream &stream, Vector(int) &targets, Vector(float) &outputs, bool swap, bool sort);

};

#endif

⌨️ 快捷键说明

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