鸿运当归 发表于 2020-8-2 09:07:39

创建模糊模型(类库文件1)

#property strict
#include <Arrays\List.mqh>
#include "MembershipFunction.mqh"
#include "Helper.mqh"

class FuzzyTerm : public NamedValueImpl
{
private:
   IMembershipFunction *m_mf;         // The membership function of the term
public:
FuzzyTerm(const string name,IMembershipFunction *mf)
   {
      NamedValueImpl::Name(name);
      m_mf=mf;
   }
~FuzzyTerm()
   {
      if(CheckPointer(m_mf)==POINTER_DYNAMIC)
      {
         delete m_mf;
      }
   }
virtual bool IsTypeOf(EnType type)
   {
return(type==TYPE_CLASS_FuzzyTerm);
   }
IMembershipFunction *MembershipFunction()
   {
return (m_mf);
   }
};

latage 发表于 2021-5-10 11:43:39

消灭零回复

jongjongyoshen 发表于 2021-5-10 15:27:36

感谢分享

升龙 发表于 2021-5-10 18:05:51

感谢分享

Leonjo 发表于 2021-5-11 06:32:39

感謝分享

196013755 发表于 2022-1-7 15:24:10

来看看赚点活跃度

zhy2505000 发表于 2022-1-8 02:26:44

看看。。了解一下。。。

bestvishes 发表于 2022-1-27 03:55:46

谢谢分享

jongjongyoshen 发表于 2022-1-27 09:08:08

谢谢分享

neeo 发表于 2022-1-27 10:06:11

感谢分享

liguangxing2007 发表于 2022-1-27 11:14:01

看不懂

翠翠6666 发表于 2022-1-27 12:19:53

做啥的

ea123ea 发表于 2022-1-27 23:44:53

谢谢分享

liguangxing2007 发表于 2022-1-30 11:42:36

还是没有搞懂

nanaliu 发表于 2022-5-24 01:24:34

看看。。感谢分享。。。。

过去了 发表于 2025-2-20 10:12:16

楼主有库文件吗?感谢分享。
页: [1]
查看完整版本: 创建模糊模型(类库文件1)