2 * Description: For comparison of goodness.
4 * Author Create/Modi Note
5 * Xiaofeng Xie Feb 19, 2004
6 * Xiaofeng Xie May 11, 2004
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * Please acknowledge the author(s) if you use this code in any way.
24 package net
.adaptivebox
.goodness
;
26 public abstract interface IGoodnessCompareEngine
{
32 * check the magnitude of two IEncodeEngine
34 * LARGER_THAN: goodness1 is worse than goodness2
36 * LESS_THAN: goodness1 is better than goodness2
38 * EQUAL_TO : goodness1 is equal to goodness2
40 int compare(double[] goodness1
, double[] goodness2
);