Interface IOptimizer

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractOptimizer, ApacheConjugateGradient, ApacheLevenbergMarquardt, ApacheMultiDirectional, ApacheNelderMead, ApacheOptimizer, GeneticAlg, GradientDescent, LeastSquares, NelderMead

public interface IOptimizer extends Serializable
The interface for the optimizers
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    optimize(boolean minimize, IFunction function, double... coords)
    Perform optimization of parameters at given coordinates in function
    void
    optimize(org.eclipse.january.dataset.IDataset[] coords, org.eclipse.january.dataset.IDataset data, IFunction function)
    Perform least squares optimization
  • Method Details

    • optimize

      void optimize(org.eclipse.january.dataset.IDataset[] coords, org.eclipse.january.dataset.IDataset data, IFunction function) throws Exception
      Perform least squares optimization
      Parameters:
      coords - An array of datasets containing the coordinate positions
      data - A dataset containing the data to be fitted to
      function - A (possibly composite) function to fit
      Throws:
      Exception
    • optimize

      void optimize(boolean minimize, IFunction function, double... coords) throws Exception
      Perform optimization of parameters at given coordinates in function
      Parameters:
      minimize - if true then minimize function, else maximize it
      function - A (possibly composite) function to fit
      coords -
      Throws:
      Exception