package causation.lab; import exercise.Evaluation; /** * This class encodes the result of the students submission. As * of right now, there are only three possible outcomes. * * @version 0.9 June 20, 1999 * @author David Danks */ public class CLEvaluation implements Evaluation { // Constants that define the possible outcomes public static final int CORRECT_DIGRAPH = 0; public static final int INCORRECT_DIGRAPH = 1; public static final int EQUIVALENT_DIGRAPH = 2; private int eval; /** * @param outcome The outcome, using one of the constants */ public CLEvaluation(int outcome) { eval = outcome; } /** * @return The result of the submission */ public int getEvaluation() { return eval; } }