Exemple #1
0
  /**
   * do change kernel events
   *
   * @param index : kernel index in matched kernel list
   * @return kernel json in 30%
   */
  public String changeKernel(int index) {

    // System.out.println("[change kernel]"+index);
    matchKernelList = kernelMatch.getOneMatchKernel(index);
    kernelOperation.init(searchAuthorList, matchKernelList);
    return kernelOperation.toJSON(30);
  }
Exemple #2
0
  /**
   * @param count percent node number of the matched kernel
   * @return kernel json
   */
  public String toJSON(int count) {

    return kernelOperation.toJSON(count);
  }