//----------------------------------------------------------------------------//
//                                                                            //
//                            E v a l u a t i o n                             //
//                                                                            //
//  Copyright (C) Herve Bitteur 2000-2006. All rights reserved.               //
//  This software is released under the terms of the GNU General Public       //
//  License. Please contact the author at herve.bitteur@laposte.net           //
//  to report bugs & suggestions.                                             //
//----------------------------------------------------------------------------//
//
package omr.glyph;


/**
 * Class <code>Evaluation</code> gathers a pair composed of a glyph shape and
 * its grade.
 *
 * @author Herv&eacute; Bitteur
 * @version $Id$
 */
public class Evaluation
{
    //~ Instance fields --------------------------------------------------------

    /** The evaluated shape */
    public Shape shape;

    /** The evaluation grade (smaller is better) */
    public double grade;

    //~ Constructors -----------------------------------------------------------

    //------------//
    // Evaluation //
    //------------//
    /**
     * Create an uninitialized evaluation
     */
    public Evaluation ()
    {
    }

    //------------//
    // Evaluation //
    //------------//
    /**
     * Create an initialized evaluation
     *
     * @param shape the shape this evaluation measures
     * @param grade the measurement result (smaller is better)
     */
    public Evaluation (Shape  shape,
                       double grade)
    {
        this.shape = shape;
        this.grade = grade;
    }

    //~ Methods ----------------------------------------------------------------

    /**
     * Just a readable output
     *
     * @return an ascii description of the evaluation
     */
    @Override
    public String toString ()
    {
        StringBuffer sb = new StringBuffer();
        sb.append(shape);
        sb.append("(")
          .append((float) grade)
          .append(")");

        return sb.toString();
    }
}

@@ -839,14 +839,17 @@
 its 
-grade.
+doubt.%0A *
 %0A *%0A
@@ -927,16 +927,309 @@
 ation%0A%7B%0A
+    //~ Static fields/initializers ---------------------------------------------%0A%0A    /** Absolutely no doubt for shape manually assigned */%0A    public static final double MANUAL_NO_DOUBT = -1;%0A%0A    /** No doubt for shape structurally assigned */%0A    public static final double NO_DOUBT = 0;%0A%0A
     //~ 
@@ -1381,21 +1381,21 @@
 luation 
-grade
+doubt
  (smalle
@@ -1428,21 +1428,21 @@
  double 
-grade
+doubt
 ;%0A%0A    /
@@ -1522,167 +1522,8 @@
 --%0A%0A
-    //------------//%0A    // Evaluation //%0A    //------------//%0A    /**%0A     * Create an uninitialized evaluation%0A     */%0A    public Evaluation ()%0A    %7B%0A    %7D%0A%0A
     
@@ -1628,32 +1628,39 @@
 aluation%0A     *%0A
+     *%0A
      * @param sh
@@ -1712,21 +1712,21 @@
  @param 
-grade
+doubt
  the mea
@@ -1890,21 +1890,21 @@
    this.
-grade
+doubt
  = grade
@@ -2272,21 +2272,21 @@
 (float) 
-grade
+doubt
 )%0A      

Use doubt instead of grade