Codota Logo
LineSearchFletcher86.initializeSearch
Code IndexAdd Codota to your IDE (free)

How to use
initializeSearch
method
in
org.ddogleg.optimization.quasinewton.LineSearchFletcher86

Best Java code snippets using org.ddogleg.optimization.quasinewton.LineSearchFletcher86.initializeSearch (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: lessthanoptimal/ddogleg

@Override
public void init(double funcAtZero, double derivAtZero, double funcAtInit, double initAlpha,
         double stepMin, double stepMax ) {
  if( stepMax <= 0 )
    throw new IllegalArgumentException("stepMax must be greater than zero");
  initializeSearch(funcAtZero, derivAtZero, funcAtInit,initAlpha);
  fzero = funcAtZero;
  gzero = derivAtZero;
  
  stprev = 0;
  fprev = funcAtZero;
  gprev = derivAtZero;
  mode = 0;
  converged = false;
  this.stmax = (fmin-fzero)/(ftol*gzero);
  this.stpmax = stepMax;
  this.updated = false;
}
origin: org.ddogleg/ddogleg

@Override
public void init(double funcAtZero, double derivAtZero, double funcAtInit, double initAlpha,
         double stepMin, double stepMax ) {
  if( stepMax <= 0 )
    throw new IllegalArgumentException("stepMax must be greater than zero");
  initializeSearch(funcAtZero, derivAtZero, funcAtInit,initAlpha);
  fzero = funcAtZero;
  gzero = derivAtZero;
  
  stprev = 0;
  fprev = funcAtZero;
  gprev = derivAtZero;
  mode = 0;
  converged = false;
  this.stmax = (fmin-fzero)/(ftol*gzero);
  this.stpmax = stepMax;
  this.updated = false;
}
org.ddogleg.optimization.quasinewtonLineSearchFletcher86initializeSearch

Popular methods of LineSearchFletcher86

  • <init>
  • setConvergence
  • bracket
    Searches for an upper bound.
  • checkSmallStep
    Checks to see if alpha is changing by a significant amount. If it change is too small it can get stu
  • interpolate
    Use either quadratic of cubic interpolation to guess the minimum.
  • section
    Using the found bracket for alpha it searches for a better estimate.
  • setModeToSection
  • getStep
  • init
  • setFunction

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • findViewById (Activity)
  • setContentView (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now