testclean.java

来自「用C编写的数据挖掘的相关算法」· Java 代码 · 共 29 行

JAVA
29
字号
package chc;public class TestClean {  private static Hypothesis[] hypo = new Hypothesis[10];   private static int[] iii = {1,1,1,1,1,1,1,1};  private static Hypothesis h = new Hypothesis(0, iii);  public static void main(String[] args) {    hypo[0] = h;    for (int i = 1; i < hypo.length; i++) {      hypo[i] = null;    }    hypo = CHC.cleanHypo(hypo);    System.out.println(hypo.length);    for (int i = 0; i < hypo.length; i++) {      hypo[i].displayHypothesis();    }  }}

⌨️ 快捷键说明

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