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

📄 testmating.java

📁 此编码是一个数据挖掘的决策树各种算法。以作为入门提示
💻 JAVA
字号:
package chc;

public class TestMating {

  public static Hypothesis one;
  public static Hypothesis two;
  public static Hypothesis thr;
  public static Hypothesis fou;
  public static Hypothesis fiv;
  public static Hypothesis six;
  public static Hypothesis sev;
  public static Hypothesis eig;


  public static void main(String[] args) {
    int[] o={1,1,1,1,1,1,1,1};
    int[] t={0,0,0,0,0,0,0,0};
    int[] i={1,0,1,0,1,0,1,0};
    one = new Hypothesis(1, o);
    two = new Hypothesis(1, t);
    MatingPair mp = new MatingPair(one, two);
    thr = mp.mate();
    thr.displayHypothesis();
    fou = mp.getSister();
    fou.displayHypothesis();
    MatingPair mp2 = new MatingPair(one, two);
    thr = mp.mate();
    thr.displayHypothesis();
    fou = mp.getSister();
    fou.displayHypothesis();
/*
    mp = new MatingPair(three, four);
    MatingPair mp2 = new MatingPair(three, one);
    Hypothesis five = mp.mate();
    five.displayHypothesis();
    Hypothesis six = mp.getSister();
    six.displayHypothesis();
    Hypothesis seven = mp2.mate();
    seven.displayHypothesis();
    Hypothesis eight = mp2.getSister();
    eight.displayHypothesis();
*/


  }
  
  private static void display() {
    
  }

}

⌨️ 快捷键说明

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