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

edu.stanford.nlp.optimization.Minimizer Maven / Gradle / Ivy

Go to download

Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.

There is a newer version: 3.9.2
Show newest version
package edu.stanford.nlp.optimization;

/**
 * The interface for unconstrained function minimizers.
 * 

* Implementations may also vary in their requirements for the * arguments. For example, implementations may or may not care if the * initial feasible vector turns out to be non-feasible * (or null!). Similarly, some methods may insist that objectives * and/or constraint Function objects actually be * DiffFunction objects. * * @author Dan Klein * @version 1.0 * @since 1.0 */ public interface Minimizer { /** * Attempts to find an unconstrained minimum of the objective * function starting at initial, within * functionTolerance. * * @param function the objective function * @param functionTolerance a double value * @param initial a initial feasible point * @return Unconstrained minimum of function */ double[] minimize(T function, double functionTolerance, double[] initial); double[] minimize(T function, double functionTolerance, double[] initial, int maxIterations); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy