enable spotlight subset in kit mode
[LibreOffice.git] / nlpsolver / ThirdParty / EvolutionarySolver / src / net / adaptivebox / goodness / IGoodnessCompareEngine.java
blob17a85993d56ff399fdf7927311a7a087bb770dc7
1 /**
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.
20 * @version 1.0
21 * @Since MAOS1.2
24 package net.adaptivebox.goodness;
26 public abstract interface IGoodnessCompareEngine {
27 int LARGER_THAN = 2;
28 int EQUAL_TO = 1;
29 int LESS_THAN = 0;
31 /**
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);