Пример #1
0
 /**
  * Launches a deep sort on the array of feature vectors. This is public because it can be used to
  * re-index the previously read feature file.
  *
  * @param featureIdx An array of feature names, indicating the sequence of features according to
  *     which the sorting should be performed.
  */
 public void deepSort(String[] setFeatureSequence) {
   featureSequence = featureDefinition.getFeatureIndexArray(setFeatureSequence);
   numberOfLeaves = 0;
   tree = new MaryNode(0, featureVectors.length);
   sortNode(0, tree);
 }