📄 config.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace FuzzyLogicController.RuleEngine
{
public class Config
{
private ImpMethod _implication;
private ConnMethod _andlogic;
private DefuzzifcationType _defuzType;
#region Constructor
public Config(ImpMethod Imp, ConnMethod And)
{
_implication = Imp;
_andlogic = And;
}
#endregion
#region Getter & setter
public ImpMethod Implication
{
get { return _implication; }
set { _implication = value; }
}
public ConnMethod Logic
{
get { return _andlogic; }
set { _andlogic = value; }
}
public DefuzzifcationType DefuzzificationType
{
get { return _defuzType; }
set { _defuzType = value; }
}
#endregion
}
public enum DefuzzifcationType
{
Centroid = 0,
ModifiedHeight =1
}
public enum ImpMethod
{
Min = 0,
Prod = 1
};
public enum ConnMethod
{
Min = 0,
Prod = 1
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -