Class BFGS

java.lang.Object
frc.robot.math.opt.BFGS

public class BFGS extends Object
Broyden-Fletcher-Goldfarb-Shanno optimizer
  • Constructor Details

    • BFGS

      public BFGS()
  • Method Details

    • optimize

      public void optimize(DiffFunc func, double[] x0, double tol, int maxItr)
      Find the minimum of a function
    • optimize

      public void optimize(DiffFunc func, double[] x0, double tol)
      Find the minimum of a function
    • optimize

      public void optimize(DiffFunc func, double[] x0)
      Find the minimum of a function
    • getItrNum

      public int getItrNum()
    • getFuncMin

      public double getFuncMin()
    • getOptValue

      public double[] getOptValue()
    • getGradNorm

      public double[] getGradNorm()
    • getNumFunctionCalls

      public int getNumFunctionCalls()
    • isSuccess

      public boolean isSuccess()
    • toString

      public String toString()
      Overrides:
      toString in class Object