Beispiel #1
0
 private double[] computeLCCShort(double[] lcc) {
   return Util.avgArray(lcc, Config.getInt("CC_LCC_SHORT_MAX_VALUES"));
 }
Beispiel #2
0
 private ODRINode getBootstrap(Random rand, ODRINode[] nodes, int index) {
   int k = Config.getInt("ODRI_SAMPLES");
   ODRINode bootstrap = nodes[rand.nextInt(index)];
   return getMax(bootstrap, this.WALK_LENGTH, k);
 }