Пример #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);
        }