public Enumeration<String> enumerateMeasures(){
  if (m_CrossValidate) {
    Enumeration<String> enm=m_NNSearch.enumerateMeasures();
    Vector<String> measures=new Vector<String>();
    while (enm.hasMoreElements())     measures.add(enm.nextElement());
    measures.add("measureKNN");
    return measures.elements();
  }
 else {
    return m_NNSearch.enumerateMeasures();
  }
}

public Enumeration < String > enumerateMeasures ( ) { if ( m_CrossValidate ) { Enumeration < String > enm = m_NNSearch . enumerateMeasures ( ) ; Vector < String > measures = new Vector < String > ( ) ; while ( enm . hasMoreElements ( ) ) measures . add ( enm . nextElement ( ) ) ; measures . add ( "measureKNN" ) ; return measures . elements ( ) ; } else { return m_NNSearch . enumerateMeasures ( ) ; } }
returns an enumeration of the additional measure names produced by the neighbour search algorithm , plus the chosen k in case cross - validation is enabled .
