indexHavingMaxValue() 공개 메소드

public indexHavingMaxValue ( ) : int
리턴 int
예제 #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();
 }