亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? item.java

?? 本編碼是最簡單易懂但完整的java實現。對初學Apriori的java編程有幫助。
?? JAVA
字號:
package datamining;

import java.util.*;

/**
 * Class for implementing a Trie Item.
 *
 * @author	Michael Holler
 */
public class Item {
	
  private int label;
  private int support;

  private Vector children;
  private Vector path;
	
  /**
   * Constructor for creating a Item object.
   * Sets instance variables to default.
   */
  public Item() {
    this.label = 0;
    this.support = 0;
    this.children = new Vector();
    this.path = new Vector();
  }
  
  /**
   * Constructor for creating an Item object.
   * Sets the label given as parameter and the
   * other variables to default.
   *
   * @param	label	the label of the Item
   */
  public Item(int label) {
    this.label = label;
    this.support = 0;
    this.children = new Vector();
    this.path = new Vector();
  }

  /**
   * Sets the instance variable label to the parameter label.
   *
   * @param	label	the new label of the Item
   */ 
  public void setLabel(int label) {
    this.label = label;
  }

  /**
   * Gets the label of the Item.
   *
   * @return		the label of the item
   */
  public int getLabel() {
    return this.label;
  }

  /**
   * Increases the support of the Item by one.
   */
  public void incSupport() {
    this.support++;
  }

  /**
   * Increases the support of the Item by the parameter.
   *
   * @param	add	the amount added to the support
   */
  public void incSupport(int add) {
    this.support += add;
  }

  /**
   * Sets the support of the Item to the support given as parameter.
   *
   * @param	support	the new support of the Item
   */
  public void setSupport(int support) {
    this.support = support;
  }

  /**
   * Gets the support of the Item.
   *
   * @return		the support of the Item
   */
  public int getSupport() {
    return this.support;
  }

  /**
   * Adds a child to the Item. The child is added as the last child.
   *
   * @param	child	the child to be added
   */
  public void addChild(Item child) {
    this.children.addElement(child);
  }

  /**
   * Adds a child to the Item. The child will be added to as
   * the child which is given by the parameter index. All children
   * after index are moved forward.
   *
   * @param	child	the child to be added
   * @param	index	the position where the child will be added
   */
  public void addChild(Item child, int index) {
    this.children.insertElementAt(child, index);
  }

  /**
   * Tells whether this Item has any children.
   *
   * @return		true, if there are children, else false
   */
  public boolean hasChildren() { 
    try {
    if (this.children.firstElement() != null)
      return true;
    else
      return false;
    } catch (Exception e) {
      return false;
    }
  }

  /**
   * Gets the children of this Item.
   *
   * @return 		the children of this Item
   */
  public Vector getChildren() {
    return this.children;
  }

  /**
   * Adds a path to the Item.
   *
   * @param	path	the path to be added
   */
  public void addPath(Vector path) {
    this.path.addAll(path);
  }

  /**
   * Gets the rules for this Item.
   *
   * @return 		the rules for this Item
   */
  public Vector getPath() {
    return this.path;
  }

  /**
   * Tells whether this Item is derivable. This is used when
   * generating derivable itemset from the non-derivables.
   *
   * @return		true, if there are elements in the path, else false
   */
  public boolean isDI() { 
    try {
    if (this.path.firstElement() != null)
      return true;
    else
      return false;
    } catch (Exception e) {
      return false;
    }
  }

  /**
   * Checks if the Item given as parameter has the same label as
   * this one.
   *
   * @return		true, if the label is the same, else false
   */
  public boolean equals(Object item) {
    Item tmp = (Item)item;
    if (tmp.getLabel() == this.label) {
      return true;
    } 
    return false;
  }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久久综合| 精品对白一区国产伦| av动漫一区二区| 成人午夜私人影院| 国产精品一区二区在线播放| 精品在线你懂的| 韩国精品一区二区| 国产寡妇亲子伦一区二区| 国产不卡高清在线观看视频| 大美女一区二区三区| 91无套直看片红桃| 欧美色欧美亚洲另类二区| 欧美一区二区三区在线观看 | 久久精品亚洲乱码伦伦中文| 2017欧美狠狠色| 亚洲三级电影全部在线观看高清| 久久这里只有精品6| 久久九九99视频| 国产精品二三区| 亚洲永久精品国产| 久久精品二区亚洲w码| 国产成人福利片| 色悠悠亚洲一区二区| 欧美一级免费大片| 中文字幕av一区 二区| 亚洲免费观看高清完整版在线观看| 亚洲国产精品久久艾草纯爱| 久久99国产精品免费| 色综合久久综合网97色综合| 欧美精品日日鲁夜夜添| 国产亚洲欧洲997久久综合| 亚洲免费观看高清完整版在线观看熊 | 亚洲综合在线电影| 蜜臀av一区二区三区| 菠萝蜜视频在线观看一区| 99精品一区二区三区| 欧美大胆一级视频| 亚洲人成网站在线| 国产精品一区免费在线观看| 欧美日韩不卡在线| √…a在线天堂一区| 麻豆精品新av中文字幕| 色琪琪一区二区三区亚洲区| 欧美mv日韩mv亚洲| 亚洲午夜一区二区| 韩国av一区二区三区| 欧美日韩一区 二区 三区 久久精品| 久久久久久久久久久久久女国产乱 | 欧美视频在线观看一区二区| 中文乱码免费一区二区 | 欧美一级高清片| 亚洲乱码国产乱码精品精的特点 | 欧美日韩精品一区二区天天拍小说| 久久亚洲精品国产精品紫薇| 午夜成人免费视频| 在线观看亚洲专区| 综合久久久久久| 成人白浆超碰人人人人| 精品99一区二区三区| 日韩黄色一级片| 欧美日韩综合不卡| 亚洲欧洲日韩一区二区三区| 国产成人在线观看| 国产喂奶挤奶一区二区三区| 另类人妖一区二区av| 5566中文字幕一区二区电影| 亚洲成av人**亚洲成av**| 色婷婷久久久久swag精品| 亚洲视频一区二区在线观看| www.亚洲色图| 国产精品高潮久久久久无| 成人国产视频在线观看| 中文字幕一区三区| 99久久免费精品| 中文字幕佐山爱一区二区免费| 成人av小说网| 成人免费小视频| 色婷婷精品久久二区二区蜜臂av | 成人午夜电影网站| 国产精品不卡一区| 91精品福利在线| 亚洲国产一区二区a毛片| 欧美丰满高潮xxxx喷水动漫| 日产精品久久久久久久性色| 欧美一级午夜免费电影| 国产一区二区毛片| 国产精品美女久久久久aⅴ| 成人做爰69片免费看网站| 有坂深雪av一区二区精品| 欧美三级在线看| 久久精品99久久久| 国产精品蜜臀av| 色悠久久久久综合欧美99| 日韩精品视频网| 欧美成人性福生活免费看| 国产99精品在线观看| 亚洲最大的成人av| 26uuu成人网一区二区三区| 国产老肥熟一区二区三区| 欧美激情一区三区| 欧美日韩国产经典色站一区二区三区| 免费日本视频一区| 国产精品夫妻自拍| 日韩欧美123| 不卡高清视频专区| 日韩精品乱码av一区二区| 久久久久国产免费免费| 欧美在线视频全部完| 国产精品自在在线| 亚洲国产一区视频| 中文字幕欧美区| 欧美精品亚洲一区二区在线播放| 国产一区二区三区久久久 | 欧美日韩性生活| 国产福利一区二区| 亚洲丰满少妇videoshd| 国产精品天干天干在线综合| 欧美撒尿777hd撒尿| 岛国一区二区在线观看| 青青青伊人色综合久久| 亚洲精品中文字幕乱码三区| 精品国产91久久久久久久妲己 | 青青草原综合久久大伊人精品优势| 久久久久久麻豆| 538prom精品视频线放| 99视频精品在线| 国产一区二区精品久久91| 亚洲国产综合色| 综合电影一区二区三区| 久久综合色播五月| 日韩视频中午一区| 欧美日韩三级在线| 在线视频你懂得一区二区三区| 国产一区二区毛片| 精品一区二区三区在线视频| 一区二区三区精品视频在线| 中文字幕第一页久久| 久久这里只有精品首页| 日韩精品中文字幕一区二区三区| 91国产免费看| 色噜噜狠狠成人中文综合| 国产乱码精品一区二区三区av | 国产精品天天看| 中文在线免费一区三区高中清不卡| 精品日韩在线观看| 日韩一区二区精品在线观看| 91麻豆精品国产91久久久久 | 欧美性色黄大片手机版| 91精品91久久久中77777| 97久久精品人人澡人人爽| 不卡在线观看av| 91在线免费视频观看| 99国产精品一区| 91精品福利视频| 欧美日本韩国一区二区三区视频 | 亚洲精品水蜜桃| 亚洲精品美腿丝袜| 一区二区三区日韩欧美精品| 亚洲男同性视频| 亚洲午夜视频在线| 美腿丝袜亚洲三区| 经典三级一区二区| 懂色av一区二区三区蜜臀| av在线不卡观看免费观看| 色中色一区二区| 91精品欧美一区二区三区综合在 | 国产成人自拍网| 成人午夜电影久久影院| 91视视频在线观看入口直接观看www | 日本一区二区三区四区| 国产精品国产自产拍在线| 亚洲欧洲日韩在线| 夜夜嗨av一区二区三区| www.日韩在线| 欧美主播一区二区三区| 日韩丝袜美女视频| 国产拍欧美日韩视频二区| 亚洲精品视频观看| 日韩va欧美va亚洲va久久| 国产传媒日韩欧美成人| 99在线精品一区二区三区| 91麻豆精品久久久久蜜臀| 久久久久久久久久久久久夜| 亚洲一区二区高清| 国产在线精品不卡| 一本大道久久精品懂色aⅴ| 在线成人av网站| 亚洲国产精品99久久久久久久久 | 亚洲综合一区二区三区| 国产真实乱对白精彩久久| 欧洲精品一区二区| 国产欧美视频一区二区三区| 亚洲影视在线播放| 成人激情小说网站| 欧美一级日韩一级| 亚洲精品视频观看| 福利91精品一区二区三区| 欧美丰满嫩嫩电影| 亚洲精品日韩综合观看成人91| 国产精品亚洲人在线观看|