コード例 #1
0
ファイル: Rule.cs プロジェクト: khodaie/Fuzzy-Logic-Sharp
        public static FuzzyRule If(FuzzyRuleCondition condition)
        {
            var rule = new FuzzyRule();

            rule.Premise = new Premise(condition);
            return(rule);
        }
コード例 #2
0
ファイル: Rule.cs プロジェクト: khodaie/Fuzzy-Logic-Sharp
        public static FuzzyRule If(List <FuzzyRuleCondition> conditions)
        {
            var rule = new FuzzyRule();

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