src/dk/itu/pitlab/libeyetracking/core/Calibration.java
public static String resultToString(CalibrationResult result) {
        if (result == null)
            return "error";
        else if (result.averageErrorDegree < 0.5)
            return "perfect";
        else if (result.averageErrorDegree < 0.7)
            return "good";
        else if (result.averageErrorDegree < 1)
            return "moderate";
        else if (result.averageErrorDegree < 1.5)
            return "poor";
        return "redo";
    }
/**
     * Translate a result into a human readable string.
     *
     * @param result Result to translate
     * @return Calibration result in human terms.
     */
Translate a result into a human readable string.
@param result Result to translate
@return Calibration result in human terms.
Translate a result into a human readable string . @param result Result to translate @return Calibration result in human terms .
public static String resultToString(CalibrationResult result) {
        if (result == null)
            return "error";
        else if (result.averageErrorDegree < 0.5)
            return "perfect";
        else if (result.averageErrorDegree < 0.7)
            return "good";
        else if (result.averageErrorDegree < 1)
            return "moderate";
        else if (result.averageErrorDegree < 1.5)
            return "poor";
        return "redo";
    }
public static String resultToString ( CalibrationResult result ) { if ( result == null ) return "error" ; else if ( result . averageErrorDegree < 0.5 ) return "perfect" ; else if ( result . averageErrorDegree < 0.7 ) return "good" ; else if ( result . averageErrorDegree < 1 ) return "moderate" ; else if ( result . averageErrorDegree < 1.5 ) return "poor" ; return "redo" ; }
Translate a result into a human readable string.
Translate a result into a human readable string .