termo.optimization.errorfunctions.ErrorFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of materia Show documentation
Show all versions of materia Show documentation
Thermodynamics properties and
equilibria calculations for
chemical engineering.
package termo.optimization.errorfunctions;
import java.util.List;
import termo.data.Experimental;
/**
*
* @author Hugo
*/
public abstract class ErrorFunction implements Parameterized{
// protected ArrayList errorForEachExperimentalData = new ArrayList();
//to class function
abstract public double getParameter(int index);
abstract public int numberOfParameters();
//to class function
abstract public void setParameter(double value, int index);
//to class function
abstract public double error();
abstract public void setExperimental(List extends Experimental> experimental);
/**
* @return the errorForEachExperimentalData
*/
// public ArrayList getErrorForEachExperimentalData() {
// // if(experimental.size() != errorForEachExperimentalData.size()){
// error();//para calcular por primera vez
// //}
// return errorForEachExperimentalData;
//
// }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy