示例#1
0
        public static FuzzyRule If(FuzzyRuleCondition condition)
        {
            var rule = new FuzzyRule();

            rule.Premise = new Premise(condition);
            return(rule);
        }
示例#2
0
        public static FuzzyRule If(List <FuzzyRuleCondition> conditions)
        {
            var rule = new FuzzyRule();

            rule.Premise = new Premise(conditions);
            return(rule);
        }