assorule.cs

来自「apriori算法的c#实现」· CS 代码 · 共 34 行

CS
34
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace StandardApriori
{
    //项目集
    class AssoRule
    {
        //具体的项目
        private string items;
        //项目的最小支持度
        private double conf;

        public string Items
        {
            get { return items; }
            set { items = value; }
        }

        public double Conf
        {
            get { return conf; }
            set { conf = value; }
        }

        public AssoRule()//对象初始化
        {
            items = null;
            conf = 0.0;
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?