创建模糊模型(类库文件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);
}
}; 消灭零回复 感谢分享 感谢分享 感謝分享 来看看赚点活跃度 看看。。了解一下。。。 谢谢分享 谢谢分享 感谢分享 看不懂 做啥的 谢谢分享 还是没有搞懂 看看。。感谢分享。。。。 楼主有库文件吗?感谢分享。
页:
[1]