All Downloads are FREE. Search and download functionalities are using the official Maven repository.

termo.optimization.errorfunctions.ErrorFunction Maven / Gradle / Ivy

Go to download

Thermodynamics properties and equilibria calculations for chemical engineering.

There is a newer version: 3.5
Show newest version
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 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