⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rowset.java

📁 贝叶思网络分类规则例程
💻 JAVA
字号:
public class RowSet extends ItemSet{  RowSet()  {    super();  }  RowSet( ItemSet c )  {    super();    Object o[] = c.toArray();    for( int i=0; i<o.length; i++)      this.add( new Row( (ItemSet)o[i] ) );  }  RowSet( RowSet c )  {    super();    this.union(c);  }  public ItemSet toItemSet()  {    ItemSet itemSet = new ItemSet();    Object o[] = this.toArray();    for(int i=0; i<o.length; i++)      itemSet.add( ((Row)o[i]).getSet() );  return itemSet;  }  public void updateSupport( ItemSet s )  {    Object o[] = this.toArray();    for(int i=0; i<o.length; i++)      ((Row)o[i]).updateSupport(s);  }  public void updateSupportA( ItemSet s )  {    Object o[] = this.toArray();    for(int i=0; i<o.length; i++)      ((Row)o[i]).updateSupportA(s);  }  public void pruneForMinimumSupport( int minSup )  {    Object o[] = this.toArray();    for(int i=0; i<o.length; i++)      if( ((Row)o[i]).getSupport() < minSup )        this.remove(o[i]);  }}

⌨️ 快捷键说明

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