indexHavingMaxValue() public méthode

public indexHavingMaxValue ( ) : int
Résultat int
Exemple #1
0
 public bool isCorrect(Vector prediction)
 {
     /*
      * compares the index having greatest value in target to indec having
      * greatest value in prediction. Ifidentical, correct
      */
     return getTarget().indexHavingMaxValue() == prediction
             .indexHavingMaxValue();
 }