/*
* NashSutclitte.java
*
* Created on January 28, 2007, 10:29 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package ngmf.util.cosu.luca.of;
import oms3.ObjectiveFunction;
import oms3.util.Statistics;
/**
*
*/
public class BIAS implements ObjectiveFunction {
@Override
public double calculate(double[] obs, double[] sim, double missing) {
return Statistics.nbias(obs, sim);
}
@Override
public boolean positiveDirection() {
return false;
}
}